oracle.adfnmc.util
Class CommandLine
java.lang.Object
oracle.adfnmc.util.CommandLine
public class CommandLine
- extends java.lang.Object
Method Summary |
static java.lang.String |
getProperty(java.lang.String key)
|
static java.lang.String |
getProperty(java.lang.String key,
java.lang.String defaultValue)
|
static java.util.Enumeration |
keys()
|
static void |
parseArgs(java.lang.String[] args)
Parses properties from given arguments and stores them locally. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CommandLine
public CommandLine()
parseArgs
public static void parseArgs(java.lang.String[] args)
- Parses properties from given arguments and stores them locally. Arguments
are expected to be in the following form: -property_name=property_value.
- Parameters:
args
-
getProperty
public static java.lang.String getProperty(java.lang.String key)
getProperty
public static java.lang.String getProperty(java.lang.String key,
java.lang.String defaultValue)
keys
public static java.util.Enumeration keys()
Copyright © 2011, Oracle and/or its affiliates. All rights reserved.