Modifier and Type | Field and Description |
---|---|
private Option |
PosixParser.currentOption
holder for the current option
|
Modifier and Type | Method and Description |
---|---|
static Option |
OptionBuilder.create()
Create an Option using the current settings
|
static Option |
OptionBuilder.create(char opt)
Create an Option using the current settings and with
the specified Option
char . |
static Option |
OptionBuilder.create(java.lang.String opt)
Create an Option using the current settings and with
the specified Option
char . |
Option |
Options.getOption(java.lang.String opt)
Retrieve the named
Option |
Option[] |
CommandLine.getOptions()
Returns an array of the processed
Option s. |
private Option |
CommandLine.resolveOption(java.lang.String opt)
Retrieves the option object given the long or short option as a String
|
Modifier and Type | Method and Description |
---|---|
(package private) void |
CommandLine.addOption(Option opt)
Add an option to the command line.
|
OptionGroup |
OptionGroup.addOption(Option opt)
add
opt to this group |
Options |
Options.addOption(Option opt)
Adds an option instance
|
private static void |
HelpFormatter.appendOption(java.lang.StringBuffer buff,
Option option,
boolean required)
Appends the usage clause for an Option to a StringBuffer.
|
OptionGroup |
Options.getOptionGroup(Option opt)
Returns the OptionGroup the
opt
belongs to. |
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 . |
void |
OptionGroup.setSelected(Option opt)
set the selected option of this group to
name . |