Package | Description |
---|---|
jargs.examples.gnu | |
jargs.gnu | |
jargs.test.gnu |
Modifier and Type | Class and Description |
---|---|
static class |
CustomOptionTest.ShortDateOption
A custom type of command line option corresponding to a short
date value, e.g.
|
Modifier and Type | Method and Description |
---|---|
CmdLineParser.Option |
AutoHelpParser.addHelp(CmdLineParser.Option option,
java.lang.String helpString) |
Modifier and Type | Method and Description |
---|---|
CmdLineParser.Option |
AutoHelpParser.addHelp(CmdLineParser.Option option,
java.lang.String helpString) |
Modifier and Type | Class and Description |
---|---|
static class |
CmdLineParser.Option.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,
java.lang.String longForm)
Convenience method for adding a boolean option.
|
CmdLineParser.Option |
CmdLineParser.addBooleanOption(java.lang.String longForm)
Convenience method for adding a boolean option.
|
CmdLineParser.Option |
CmdLineParser.addDoubleOption(char shortForm,
java.lang.String longForm)
Convenience method for adding a double option.
|
CmdLineParser.Option |
CmdLineParser.addDoubleOption(java.lang.String longForm)
Convenience method for adding a double option.
|
CmdLineParser.Option |
CmdLineParser.addIntegerOption(char shortForm,
java.lang.String longForm)
Convenience method for adding an integer option.
|
CmdLineParser.Option |
CmdLineParser.addIntegerOption(java.lang.String longForm)
Convenience method for adding an integer option.
|
CmdLineParser.Option |
CmdLineParser.addLongOption(char shortForm,
java.lang.String longForm)
Convenience method for adding a long integer option.
|
CmdLineParser.Option |
CmdLineParser.addLongOption(java.lang.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,
java.lang.String longForm)
Convenience method for adding a string option.
|
CmdLineParser.Option |
CmdLineParser.addStringOption(java.lang.String longForm)
Convenience method for adding a string option.
|
CmdLineParser.Option |
CmdLineParser.IllegalOptionValueException.getOption() |
Modifier and Type | Method and Description |
---|---|
CmdLineParser.Option |
CmdLineParser.addOption(CmdLineParser.Option opt)
Add the specified Option to the list of accepted options
|
java.lang.Object |
CmdLineParser.getOptionValue(CmdLineParser.Option o)
Equivalent to
getOptionValue(o,
null) . |
java.lang.Object |
CmdLineParser.getOptionValue(CmdLineParser.Option o,
java.lang.Object def) |
java.util.Vector |
CmdLineParser.getOptionValues(CmdLineParser.Option option) |
Constructor and Description |
---|
CmdLineParser.IllegalOptionValueException(CmdLineParser.Option opt,
java.lang.String value) |
Modifier and Type | Class and Description |
---|---|
static class |
CustomOptionTestCase.ShortDateOption |
Copyright © 2001-2003 Steve Purcell. Copyright © 2002 Vidar Holen. Copyright © 2002 Michal Ceresna. Copyright © 2005 Ewan Mellor. Released under the terms of the BSD licence.