dsto.dfc.commandline
Class StringOption
java.lang.Object
dsto.dfc.commandline.Option
dsto.dfc.commandline.StringOption
public class StringOption
- extends Option
This is the simplist type of Option, which simply handles string arguements.
Fields inherited from class dsto.dfc.commandline.Option |
value |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StringOption
public StringOption(char shortForm,
String longForm)
parseValue
protected Object parseValue(String arg)
- Description copied from class:
Option
- Override to extract and convert an option value passed on the
command-line
- Overrides:
parseValue
in class Option
getValue
public Object getValue()
- Overrides:
getValue
in class Option
Copyright © 2008 Commonwealth of Australia