public static class CustomOptionTestCase.ShortDateOption extends CmdLineParser.Option
CmdLineParser.Option.BooleanOption, CmdLineParser.Option.DoubleOption, CmdLineParser.Option.IntegerOption, CmdLineParser.Option.LongOption, CmdLineParser.Option.StringOption| Constructor and Description |
|---|
CustomOptionTestCase.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, wantsValuepublic CustomOptionTestCase.ShortDateOption(char shortForm,
String longForm)
protected Object parseValue(String arg, Locale locale) throws CmdLineParser.IllegalOptionValueException
CmdLineParser.OptionparseValue in class CmdLineParser.OptionCmdLineParser.IllegalOptionValueExceptionCopyright © 2001-2003 Steve Purcell. Copyright © 2002 Vidar Holen. Copyright © 2002 Michal Ceresna. Copyright © 2005 Ewan Mellor. Released under the terms of the BSD licence.