public static class CustomOptionTest.ShortDateOption extends CmdLineParser.Option
CmdLineParser.Option.BooleanOption, CmdLineParser.Option.DoubleOption, CmdLineParser.Option.IntegerOption, CmdLineParser.Option.StringOption
Constructor and Description |
---|
ShortDateOption(char shortForm,
String longForm) |
Modifier and Type | Method and Description |
---|---|
protected Object |
parseValue(String arg,
Locale locale)
Override to extract and convert an option value passed on the
command-line
|
getValue, longForm, shortForm, wantsValue
public ShortDateOption(char shortForm, String longForm)
protected Object parseValue(String arg, Locale locale) throws CmdLineParser.IllegalOptionValueException
CmdLineParser.Option
parseValue
in class CmdLineParser.Option
CmdLineParser.IllegalOptionValueException
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses