|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdsto.dfc.commandline.PropertyParser
public final class PropertyParser
Parser for "-Dproperty=value" command line arguments that emulates the processing that the "java" command does. This is useful for allowing -D options in the application's argument list when modifying the command that launched the VM isn't possible.
Method Summary | |
---|---|
static String[] |
parseOptions(String[] args)
Parse the "-Dproperty=value" arguments from a list of arguments into the system property set (ie System.getProperties ()). |
static String[] |
parseOptions(String[] args,
Properties properties)
Parse the "-Dproperty=value" arguments from a list of arguments into a property set. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static String[] parseOptions(String[] args)
args
- The arguments.
parseOptions(String[], Properties)
public static String[] parseOptions(String[] args, Properties properties)
args
- The arguments.properties
- The property set to modify.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |