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