A B C D G I J L M O P S T W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- addBooleanOption(char, String) - Method in class jargs.gnu.CmdLineParser
-
Convenience method for adding a boolean option.
- addBooleanOption(String) - Method in class jargs.gnu.CmdLineParser
-
Convenience method for adding a boolean option.
- addDoubleOption(char, String) - Method in class jargs.gnu.CmdLineParser
-
Convenience method for adding a double option.
- addDoubleOption(String) - Method in class jargs.gnu.CmdLineParser
-
Convenience method for adding a double option.
- addHelp(CmdLineParser.Option, String) - Method in class jargs.examples.gnu.AutoHelpParser
- addIntegerOption(char, String) - Method in class jargs.gnu.CmdLineParser
-
Convenience method for adding an integer option.
- addIntegerOption(String) - Method in class jargs.gnu.CmdLineParser
-
Convenience method for adding an integer option.
- addLongOption(char, String) - Method in class jargs.gnu.CmdLineParser
-
Convenience method for adding a long integer option.
- addLongOption(String) - Method in class jargs.gnu.CmdLineParser
-
Convenience method for adding a long integer option.
- addOption(CmdLineParser.Option) - Method in class jargs.gnu.CmdLineParser
-
Add the specified Option to the list of accepted options
- addStringOption(char, String) - Method in class jargs.gnu.CmdLineParser
-
Convenience method for adding a string option.
- addStringOption(String) - Method in class jargs.gnu.CmdLineParser
-
Convenience method for adding a string option.
- AllTests - Class in jargs.test.gnu
- AllTests() - Constructor for class jargs.test.gnu.AllTests
- AutoHelpParser - Class in jargs.examples.gnu
-
This example shows how to dynamically create basic output for a --help option.
- AutoHelpParser() - Constructor for class jargs.examples.gnu.AutoHelpParser
B
- BooleanOption(char, String) - Constructor for class jargs.gnu.CmdLineParser.Option.BooleanOption
- BooleanOption(String) - Constructor for class jargs.gnu.CmdLineParser.Option.BooleanOption
C
- CmdLineParser - Class in jargs.gnu
-
Largely GNU-compatible command-line options parser.
- CmdLineParser() - Constructor for class jargs.gnu.CmdLineParser
- CmdLineParser.IllegalOptionValueException - Exception in jargs.gnu
-
Thrown when an illegal or missing value is given by the user for an option that takes a value.
- CmdLineParser.NotFlagException - Exception in jargs.gnu
-
Thrown when the parsed commandline contains multiple concatenated short options, such as -abcd, where one or more requires a value.
- CmdLineParser.Option - Class in jargs.gnu
-
Representation of a command-line option
- CmdLineParser.Option.BooleanOption - Class in jargs.gnu
- CmdLineParser.Option.DoubleOption - Class in jargs.gnu
-
An option that expects a floating-point value
- CmdLineParser.Option.IntegerOption - Class in jargs.gnu
-
An option that expects an integer value
- CmdLineParser.Option.LongOption - Class in jargs.gnu
-
An option that expects a long integer value
- CmdLineParser.Option.StringOption - Class in jargs.gnu
-
An option that expects a string value
- CmdLineParser.OptionException - Exception in jargs.gnu
-
Base class for exceptions that may be thrown when options are parsed
- CmdLineParser.UnknownOptionException - Exception in jargs.gnu
-
Thrown when the parsed command-line contains an option that is not recognised.
- CmdLineParser.UnknownSuboptionException - Exception in jargs.gnu
-
Thrown when the parsed commandline contains multiple concatenated short options, such as -abcd, where one is unknown.
- CmdLineParserTestCase - Class in jargs.test.gnu
- CmdLineParserTestCase(String) - Constructor for class jargs.test.gnu.CmdLineParserTestCase
- CustomOptionTest - Class in jargs.examples.gnu
- CustomOptionTest() - Constructor for class jargs.examples.gnu.CustomOptionTest
- CustomOptionTest.ShortDateOption - Class in jargs.examples.gnu
-
A custom type of command line option corresponding to a short date value, e.g.
- CustomOptionTestCase - Class in jargs.test.gnu
- CustomOptionTestCase(String) - Constructor for class jargs.test.gnu.CustomOptionTestCase
- CustomOptionTestCase.ShortDateOption - Class in jargs.test.gnu
D
- DoubleOption(char, String) - Constructor for class jargs.gnu.CmdLineParser.Option.DoubleOption
- DoubleOption(String) - Constructor for class jargs.gnu.CmdLineParser.Option.DoubleOption
G
- getOption() - Method in exception jargs.gnu.CmdLineParser.IllegalOptionValueException
- getOptionChar() - Method in exception jargs.gnu.CmdLineParser.NotFlagException
- getOptionName() - Method in exception jargs.gnu.CmdLineParser.UnknownOptionException
- getOptionValue(CmdLineParser.Option) - Method in class jargs.gnu.CmdLineParser
-
Equivalent to
getOptionValue(o, null)
. - getOptionValue(CmdLineParser.Option, Object) - Method in class jargs.gnu.CmdLineParser
- getOptionValues(CmdLineParser.Option) - Method in class jargs.gnu.CmdLineParser
- getRemainingArgs() - Method in class jargs.gnu.CmdLineParser
- getSuboption() - Method in exception jargs.gnu.CmdLineParser.UnknownSuboptionException
- getValue() - Method in exception jargs.gnu.CmdLineParser.IllegalOptionValueException
- getValue(String, Locale) - Method in class jargs.gnu.CmdLineParser.Option
I
- IllegalOptionValueException(CmdLineParser.Option, String) - Constructor for exception jargs.gnu.CmdLineParser.IllegalOptionValueException
- IntegerOption(char, String) - Constructor for class jargs.gnu.CmdLineParser.Option.IntegerOption
- IntegerOption(String) - Constructor for class jargs.gnu.CmdLineParser.Option.IntegerOption
J
- jargs.examples.gnu - package jargs.examples.gnu
- jargs.gnu - package jargs.gnu
- jargs.test.gnu - package jargs.test.gnu
L
- longForm() - Method in class jargs.gnu.CmdLineParser.Option
- LongOption(char, String) - Constructor for class jargs.gnu.CmdLineParser.Option.LongOption
- LongOption(String) - Constructor for class jargs.gnu.CmdLineParser.Option.LongOption
M
- main(String[]) - Static method in class jargs.examples.gnu.AutoHelpParser
- main(String[]) - Static method in class jargs.examples.gnu.CustomOptionTest
- main(String[]) - Static method in class jargs.examples.gnu.OptionParserSubclassTest
- main(String[]) - Static method in class jargs.examples.gnu.OptionTest
O
- Option(char, String, boolean) - Constructor for class jargs.gnu.CmdLineParser.Option
- Option(String, boolean) - Constructor for class jargs.gnu.CmdLineParser.Option
- OptionParserSubclassTest - Class in jargs.examples.gnu
- OptionParserSubclassTest() - Constructor for class jargs.examples.gnu.OptionParserSubclassTest
- OptionTest - Class in jargs.examples.gnu
- OptionTest() - Constructor for class jargs.examples.gnu.OptionTest
P
- parse(String[]) - Method in class jargs.gnu.CmdLineParser
-
Extract the options and non-option arguments from the given list of command-line arguments.
- parse(String[], Locale) - Method in class jargs.gnu.CmdLineParser
-
Extract the options and non-option arguments from the given list of command-line arguments.
- parseValue(String, Locale) - Method in class jargs.examples.gnu.CustomOptionTest.ShortDateOption
- parseValue(String, Locale) - Method in class jargs.gnu.CmdLineParser.Option.DoubleOption
- parseValue(String, Locale) - Method in class jargs.gnu.CmdLineParser.Option.IntegerOption
- parseValue(String, Locale) - Method in class jargs.gnu.CmdLineParser.Option.LongOption
- parseValue(String, Locale) - Method in class jargs.gnu.CmdLineParser.Option
-
Override to extract and convert an option value passed on the command-line
- parseValue(String, Locale) - Method in class jargs.gnu.CmdLineParser.Option.StringOption
- parseValue(String, Locale) - Method in class jargs.test.gnu.CustomOptionTestCase.ShortDateOption
- printUsage() - Method in class jargs.examples.gnu.AutoHelpParser
S
- ShortDateOption(char, String) - Constructor for class jargs.examples.gnu.CustomOptionTest.ShortDateOption
- ShortDateOption(char, String) - Constructor for class jargs.test.gnu.CustomOptionTestCase.ShortDateOption
- shortForm() - Method in class jargs.gnu.CmdLineParser.Option
- StringOption(char, String) - Constructor for class jargs.gnu.CmdLineParser.Option.StringOption
- StringOption(String) - Constructor for class jargs.gnu.CmdLineParser.Option.StringOption
- suite() - Static method in class jargs.test.gnu.AllTests
T
- testBadFormat() - Method in class jargs.test.gnu.CmdLineParserTestCase
- testCombinedFlags() - Method in class jargs.test.gnu.CmdLineParserTestCase
- testCustomOption() - Method in class jargs.test.gnu.CustomOptionTestCase
- testDefaults() - Method in class jargs.test.gnu.CmdLineParserTestCase
- testDetachedOption() - Method in class jargs.test.gnu.CmdLineParserTestCase
- testExplictlyTerminatedOptions() - Method in class jargs.test.gnu.CmdLineParserTestCase
- testGetOptionValues() - Method in class jargs.test.gnu.CmdLineParserTestCase
- testIllegalCustomOption() - Method in class jargs.test.gnu.CustomOptionTestCase
- testLocale() - Method in class jargs.test.gnu.CmdLineParserTestCase
- testMissingValueForStringOption() - Method in class jargs.test.gnu.CmdLineParserTestCase
- testMultipleUses() - Method in class jargs.test.gnu.CmdLineParserTestCase
- testResetBetweenParse() - Method in class jargs.test.gnu.CmdLineParserTestCase
- testStandardOptions() - Method in class jargs.test.gnu.CmdLineParserTestCase
W
- wantsValue() - Method in class jargs.gnu.CmdLineParser.Option
-
Tells whether or not this option wants a value
All Classes All Packages