public static class CmdLineParser.Option.LongOption extends CmdLineParser.Option<Long>
CmdLineParser.Option.BooleanOption, CmdLineParser.Option.DoubleOption, CmdLineParser.Option.IntegerOption, CmdLineParser.Option.LongOption, CmdLineParser.Option.StringOption| Constructor and Description |
|---|
LongOption(char shortForm,
String longForm) |
LongOption(String longForm) |
| Modifier and Type | Method and Description |
|---|---|
protected Long |
parseValue(String arg,
Locale locale)
Override to extract and convert an option value passed on the command-line
|
getDefaultValue, getValue, longForm, shortForm, wantsValuepublic LongOption(char shortForm,
String longForm)
public LongOption(String longForm)
protected Long parseValue(String arg, Locale locale) throws CmdLineParser.IllegalOptionValueException
CmdLineParser.OptionparseValue in class CmdLineParser.Option<Long>CmdLineParser.IllegalOptionValueExceptionCopyright © 2019 David R. Smith. All rights reserved.