-
Deprecated.
holder for the current option
AlreadySelectedException.option
The option that triggered the exception.
MissingArgumentException.option
The option requiring additional arguments
a map of the options with the long key
Comparator used to sort the options when they output in help text
Defaults to case-insensitive alphabetical sorting by option key
a map of the options with the character key
Deprecated.
Create an Option using the current settings
OptionBuilder.create(char opt)
Deprecated.
Create an Option using the current settings and with
the specified Option char.
Deprecated.
Create an Option using the current settings and with
the specified Option char.
Retrieve the
Option matching the long name specified.
Returns the option that was added to the group and triggered the exception.
Return the option requiring an argument that wasn't provided
on the command line.
Retrieve the
Option matching the long or short name specified.
Returns an array of the processed
Options.
Retrieves the option object given the long or short option as a String
Comparator used to sort the options when they output in help text.
Retrieve a read-only list of options in this set
Returns the Options for use by the HelpFormatter.
Returns an iterator over the Option members of CommandLine.
protected void
Add an option to the command line.
Add an option to the command line.
Add the specified Option to this group.
private void
Appends the usage clause for an Option to a StringBuffer.
int
Compares its two arguments for order.
Returns the OptionGroup the opt belongs to.
private void
void
Deprecated.
Process the argument values for the specified Option
opt using the values retrieved from the
specified iterator iter.
void
Set the selected option of this group to name.
private void
Removes the option or its group from the list of expected elements.
private void
Deprecated.
Removes the option or its group from the list of expected elements.
void
Set the comparator used to sort the options when they output in help text.
Construct a new AlreadySelectedException
for the specified option group.
Construct a new MissingArgumentException
with the specified detail message.