|
For updates and more see jargs.sourceforge.net | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjargs.gnu.CmdLineParser.Option
jargs.gnu.CmdLineParser.Option.IntegerOption
public static class CmdLineParser.Option.IntegerOption
An option that expects an integer value
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class jargs.gnu.CmdLineParser.Option |
|---|
CmdLineParser.Option.BooleanOption, CmdLineParser.Option.DoubleOption, CmdLineParser.Option.IntegerOption, CmdLineParser.Option.LongOption, CmdLineParser.Option.StringOption |
| Constructor Summary | |
|---|---|
CmdLineParser.Option.IntegerOption(char shortForm,
java.lang.String longForm)
|
|
CmdLineParser.Option.IntegerOption(java.lang.String longForm)
|
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class jargs.gnu.CmdLineParser.Option |
|---|
getValue, longForm, shortForm, wantsValue |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CmdLineParser.Option.IntegerOption(char shortForm,
java.lang.String longForm)
public CmdLineParser.Option.IntegerOption(java.lang.String longForm)
| Method Detail |
|---|
protected java.lang.Object parseValue(java.lang.String arg,
java.util.Locale locale)
throws CmdLineParser.IllegalOptionValueException
CmdLineParser.Option
parseValue in class CmdLineParser.OptionCmdLineParser.IllegalOptionValueException
|
For updates and more see jargs.sourceforge.net | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||