-
Comparator used to sort the options when they output in help text
Defaults to case-insensitive alphabetical sorting by option key
Deprecated.
Creates an Option using the current settings
OptionBuilder.create(char opt)
Deprecated.
Creates an Option using the current settings and with the specified Option char
.
Deprecated.
Creates an Option using the current settings and with the specified Option char
.
Gets the option that was added to the group and triggered the exception.
Gets the option requiring an argument that wasn't provided on the command line.
Gets the
Option
matching the long or short name specified.
Gets an array of the processed
Option
s.
Comparator used to sort the options when they output in help text.
Gets the options in this group as a Collection
.
Gets a read-only list of options in this set
Returns an iterator over the Option members of CommandLine.
protected void
Adds an option to the command line.
Adds an option to the command line.
Adds the given Option
to this group.
Gets the option description or an empty string if the description is null
.
Gets the OptionGroup the opt
belongs to.
Gets the map of values associated to the option.
Gets the first argument, if any, of this option.
Gets the first argument, if any, of an option.
Gets the first argument, if any, of an option.
Gets the array of values, if any, of an option.
<T> T
Gets a version of this Option
converted to a particular type.
<T> T
Gets a version of this Option
converted to a particular type.
<T> T
Gets a version of this Option
converted to a particular type.
boolean
Tests to see if an option has been set.
void
Deprecated.
Process the argument values for the specified Option opt
using the values retrieved from the specified
iterator iter
.
void
Sets the selected option of this group to name
.
Sets the deprecated option handler.
Sets the deprecated option handler.
void
Sets the comparator used to sort the options when they output in help text.
Sets whether to show deprecated options.
Constructs a new AlreadySelectedException
for the specified option group.
Constructs a new MissingArgumentException
with the specified detail message.