Modifier and Type | Class and Description |
---|---|
class |
AlreadySelectedException
Thrown when more than one option in an option group
has been provided.
|
class |
MissingArgumentException
Thrown when an option requiring an argument
is not provided with an argument.
|
class |
MissingOptionException
Thrown when a required option has not been provided.
|
class |
UnrecognizedOptionException
Exception thrown during parsing signalling an unrecognized
option was seen.
|
Modifier and Type | Method and Description |
---|---|
CommandLine |
Parser.parse(Options options,
java.lang.String[] arguments)
Parses the specified
arguments
based on the specifed Options . |
CommandLine |
CommandLineParser.parse(Options options,
java.lang.String[] arguments)
Parse the arguments according to the specified options.
|
CommandLine |
Parser.parse(Options opts,
java.lang.String[] arguments,
boolean stopAtNonOption)
Parses the specified
arguments
based on the specifed Options . |
CommandLine |
CommandLineParser.parse(Options options,
java.lang.String[] arguments,
boolean stopAtNonOption)
Parse the arguments according to the specified options.
|
void |
Parser.processArgs(Option opt,
java.util.ListIterator iter) |
private void |
Parser.processOption(java.lang.String arg,
java.util.ListIterator iter) |