Package | Description |
---|---|
jargs.gnu |
Jargs GNU package.
|
Modifier and Type | Class and Description |
---|---|
static class |
CmdLineParser.Option.BooleanOption
The Class BooleanOption.
|
static class |
CmdLineParser.Option.DoubleOption
An option that expects a floating-point value.
|
static class |
CmdLineParser.Option.IntegerOption
An option that expects an integer value.
|
static class |
CmdLineParser.Option.LongOption
An option that expects a long integer value.
|
static class |
CmdLineParser.Option.StringOption
An option that expects a string value.
|
Modifier and Type | Method and Description |
---|---|
CmdLineParser.Option |
CmdLineParser.addBooleanOption(char shortForm,
String longForm)
Convenience method for adding a boolean option.
|
CmdLineParser.Option |
CmdLineParser.addBooleanOption(String longForm)
Convenience method for adding a boolean option.
|
CmdLineParser.Option |
CmdLineParser.addDoubleOption(char shortForm,
String longForm)
Convenience method for adding a double option.
|
CmdLineParser.Option |
CmdLineParser.addDoubleOption(String longForm)
Convenience method for adding a double option.
|
CmdLineParser.Option |
CmdLineParser.addIntegerOption(char shortForm,
String longForm)
Convenience method for adding an integer option.
|
CmdLineParser.Option |
CmdLineParser.addIntegerOption(String longForm)
Convenience method for adding an integer option.
|
CmdLineParser.Option |
CmdLineParser.addLongOption(char shortForm,
String longForm)
Convenience method for adding a long integer option.
|
CmdLineParser.Option |
CmdLineParser.addLongOption(String longForm)
Convenience method for adding a long integer option.
|
CmdLineParser.Option |
CmdLineParser.addOption(CmdLineParser.Option opt)
Add the specified Option to the list of accepted options.
|
CmdLineParser.Option |
CmdLineParser.addStringOption(char shortForm,
String longForm)
Convenience method for adding a string option.
|
CmdLineParser.Option |
CmdLineParser.addStringOption(String longForm)
Convenience method for adding a string option.
|
CmdLineParser.Option |
CmdLineParser.IllegalOptionValueException.getOption()
Gets the option.
|
Modifier and Type | Method and Description |
---|---|
CmdLineParser.Option |
CmdLineParser.addOption(CmdLineParser.Option opt)
Add the specified Option to the list of accepted options.
|
Object |
CmdLineParser.getOptionValue(CmdLineParser.Option o)
Equivalent to
getOptionValue(o, null) . |
Object |
CmdLineParser.getOptionValue(CmdLineParser.Option o,
Object def)
Gets the option value.
|
List<String> |
CmdLineParser.getOptionValues(CmdLineParser.Option option)
Gets the option values.
|
Constructor and Description |
---|
IllegalOptionValueException(CmdLineParser.Option opt,
String value)
Instantiates a new illegal option value exception.
|
Copyright © 2009–2020 Jeremy Landis. All rights reserved.