- getArgList() - Method in class org.apache.commons.cli.CommandLine
-
Retrieve any left-over non-recognized options and arguments
- getArgName() - Method in class org.apache.commons.cli.Option
-
Gets the display name for the argument value.
- getArgs() - Method in class org.apache.commons.cli.CommandLine
-
Retrieve any left-over non-recognized options and arguments
- getArgs() - Method in class org.apache.commons.cli.Option
-
Returns the number of argument values this Option can take.
- getDescription() - Method in class org.apache.commons.cli.Option
-
Retrieve the self-documenting description of this Option
- getId() - Method in class org.apache.commons.cli.Option
-
Returns the id of this Option.
- getLongOpt() - Method in class org.apache.commons.cli.Option
-
Retrieve the long name of this Option.
- getNames() - Method in class org.apache.commons.cli.OptionGroup
-
- getOpt() - Method in class org.apache.commons.cli.Option
-
Retrieve the name of this Option.
- getOption(String) - Method in class org.apache.commons.cli.Options
-
- getOptionGroup(Option) - Method in class org.apache.commons.cli.Options
-
Returns the OptionGroup the opt
belongs to.
- getOptionObject(String) - Method in class org.apache.commons.cli.CommandLine
-
Return the Object
type of this Option
.
- getOptionObject(char) - Method in class org.apache.commons.cli.CommandLine
-
Return the Object
type of this Option
.
- getOptions() - Method in class org.apache.commons.cli.CommandLine
-
Returns an array of the processed
Option
s.
- getOptions() - Method in class org.apache.commons.cli.OptionGroup
-
- getOptions() - Method in class org.apache.commons.cli.Options
-
Retrieve a read-only list of options in this set
- getOptionValue(String) - Method in class org.apache.commons.cli.CommandLine
-
Retrieve the argument, if any, of this option.
- getOptionValue(char) - Method in class org.apache.commons.cli.CommandLine
-
Retrieve the argument, if any, of this option.
- getOptionValue(String, String) - Method in class org.apache.commons.cli.CommandLine
-
Retrieve the argument, if any, of an option.
- getOptionValue(char, String) - Method in class org.apache.commons.cli.CommandLine
-
Retrieve the argument, if any, of an option.
- getOptionValues(String) - Method in class org.apache.commons.cli.CommandLine
-
Retrieves the array of values, if any, of an option.
- getOptionValues(char) - Method in class org.apache.commons.cli.CommandLine
-
Retrieves the array of values, if any, of an option.
- getRequiredOptions() - Method in class org.apache.commons.cli.Options
-
Returns the required options as a
java.util.Collection
.
- getSelected() - Method in class org.apache.commons.cli.OptionGroup
-
- getType() - Method in class org.apache.commons.cli.Option
-
Retrieve the type of this Option.
- getValue() - Method in class org.apache.commons.cli.Option
-
- getValue(int) - Method in class org.apache.commons.cli.Option
-
- getValue(String) - Method in class org.apache.commons.cli.Option
-
- getValueClass(char) - Static method in class org.apache.commons.cli.PatternOptionBuilder
-
Retrieve the class that ch
represents.
- getValues() - Method in class org.apache.commons.cli.Option
-
- getValueSeparator() - Method in class org.apache.commons.cli.Option
-
Returns the value separator character.
- getValuesList() - Method in class org.apache.commons.cli.Option
-
- GnuParser - Class in org.apache.commons.cli
-
The class GnuParser provides an implementation of the
flatten
method.
- GnuParser() - Constructor for class org.apache.commons.cli.GnuParser
-
- gobble(Iterator) - Method in class org.apache.commons.cli.PosixParser
-
Adds the remaining tokens to the processed tokens list.
- hasArg - Variable in class org.apache.commons.cli.Option
-
hasArg specifies whether this option has an associated argument
- hasArg() - Method in class org.apache.commons.cli.Option
-
Query to see if this Option requires an argument
- hasArg() - Static method in class org.apache.commons.cli.OptionBuilder
-
The next Option created will require an argument value.
- hasArg(boolean) - Static method in class org.apache.commons.cli.OptionBuilder
-
The next Option created will require an argument value if
hasArg
is true.
- hasArgName() - Method in class org.apache.commons.cli.Option
-
Returns whether the display name for the argument value
has been set.
- hasArgs() - Method in class org.apache.commons.cli.Option
-
Query to see if this Option can take many values
- hasArgs() - Static method in class org.apache.commons.cli.OptionBuilder
-
The next Option created can have unlimited argument values.
- hasArgs(int) - Static method in class org.apache.commons.cli.OptionBuilder
-
The next Option created can have num
argument values.
- hashcodeMap - Variable in class org.apache.commons.cli.CommandLine
-
Map of unique options for ease to get complete list of options
- hasLongOpt() - Method in class org.apache.commons.cli.Option
-
Query to see if this Option has a long name
- hasOption(String) - Method in class org.apache.commons.cli.CommandLine
-
Query to see if an option has been set.
- hasOption(char) - Method in class org.apache.commons.cli.CommandLine
-
Query to see if an option has been set.
- hasOption(String) - Method in class org.apache.commons.cli.Options
-
- hasOptionalArg() - Method in class org.apache.commons.cli.Option
-
- hasOptionalArg() - Static method in class org.apache.commons.cli.OptionBuilder
-
The next Option can have an optional argument.
- hasOptionalArgs() - Static method in class org.apache.commons.cli.OptionBuilder
-
The next Option can have an unlimited number of
optional arguments.
- hasOptionalArgs(int) - Static method in class org.apache.commons.cli.OptionBuilder
-
The next Option can have the specified number of
optional arguments.
- HelpFormatter - Class in org.apache.commons.cli
-
A formatter of help messages for the current command line options
- HelpFormatter() - Constructor for class org.apache.commons.cli.HelpFormatter
-
- HelpFormatter.StringBufferComparator - Class in org.apache.commons.cli
-
- HelpFormatter.StringBufferComparator() - Constructor for class org.apache.commons.cli.HelpFormatter.StringBufferComparator
-
- helpOptions() - Method in class org.apache.commons.cli.Options
-
Returns the Options for use by the HelpFormatter.