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 options,
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.
|
CommandLine |
Parser.parse(Options options,
java.lang.String[] arguments,
java.util.Properties properties)
Parse the arguments according to the specified options and
properties.
|
CommandLine |
Parser.parse(Options options,
java.lang.String[] arguments,
java.util.Properties properties,
boolean stopAtNonOption)
Parse the arguments according to the specified options and
properties.
|
void |
Parser.processArgs(Option opt,
java.util.ListIterator iter)
Process the argument values for the specified Option
opt using the values retrieved from the
specified iterator iter . |
private void |
Parser.processOption(java.lang.String arg,
java.util.ListIterator iter)
Process the Option specified by
arg
using the values retrieved from the specfied iterator
iter . |