public static class CmdLineParser.Option.IntegerOption extends CmdLineParser.Option
CmdLineParser.Option.BooleanOption, CmdLineParser.Option.DoubleOption, CmdLineParser.Option.IntegerOption, CmdLineParser.Option.LongOption, CmdLineParser.Option.StringOption| Constructor and Description |
|---|
CmdLineParser.Option.IntegerOption(char shortForm,
java.lang.String longForm) |
CmdLineParser.Option.IntegerOption(java.lang.String longForm) |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.Object |
parseValue(java.lang.String arg,
java.util.Locale locale)
Override to extract and convert an option value passed on the
command-line
|
getValue, longForm, shortForm, wantsValuepublic CmdLineParser.Option.IntegerOption(char shortForm,
java.lang.String longForm)
public CmdLineParser.Option.IntegerOption(java.lang.String longForm)
protected java.lang.Object parseValue(java.lang.String arg,
java.util.Locale locale)
throws CmdLineParser.IllegalOptionValueException
CmdLineParser.OptionparseValue in class CmdLineParser.OptionCmdLineParser.IllegalOptionValueException