Class | Description |
---|---|
CmdLineParser |
Largely GNU-compatible command-line options parser.
|
CmdLineParser.Option |
Representation of a command-line option
|
CmdLineParser.Option.BooleanOption | |
CmdLineParser.Option.DoubleOption |
An option that expects a floating-point value
|
CmdLineParser.Option.IntegerOption |
An option that expects an integer value
|
CmdLineParser.Option.LongOption |
An option that expects a long integer value
|
CmdLineParser.Option.StringOption |
An option that expects a string value
|
Exception | Description |
---|---|
CmdLineParser.IllegalOptionValueException |
Thrown when an illegal or missing value is given by the user for
an option that takes a value.
|
CmdLineParser.NotFlagException |
Thrown when the parsed commandline contains multiple concatenated
short options, such as -abcd, where one or more requires a value.
|
CmdLineParser.OptionException |
Base class for exceptions that may be thrown when options are parsed
|
CmdLineParser.UnknownOptionException |
Thrown when the parsed command-line contains an option that is not
recognised.
|
CmdLineParser.UnknownSuboptionException |
Thrown when the parsed commandline contains multiple concatenated
short options, such as -abcd, where one is unknown.
|
Provides a largely GNU compatible command line options parser for Java programs.