Alphabetical Index

A B C D E F G H I L M N O P R S T U V W

A

add(String) - method in class org.apache.commons.cli.Option
Add the value to this Option.
addArg(String) - method in class org.apache.commons.cli.CommandLine
Add left-over unrecognized option/argument.
addOption(org.apache.commons.cli.Option) - method in class org.apache.commons.cli.CommandLine
Add an option to the command line.
addOption(org.apache.commons.cli.Option) - method in class org.apache.commons.cli.OptionGroup
add opt to this group
addOption(org.apache.commons.cli.Option) - method in class org.apache.commons.cli.Options
Adds an option instance
addOption(String,boolean,String) - method in class org.apache.commons.cli.Options
Add an option that only contains a short-name.
addOption(String,String,boolean,String) - method in class org.apache.commons.cli.Options
Add an option that contains a short-name and a long-name.
addOptionGroup(org.apache.commons.cli.OptionGroup) - method in class org.apache.commons.cli.Options
Add the specified option group.
addValue(String) - method in class org.apache.commons.cli.Option
This method is not intended to be used.
addValueForProcessing(String) - method in class org.apache.commons.cli.Option
Adds the specified value to this Option.
AlreadySelectedException - class org.apache.commons.cli.AlreadySelectedException
Thrown when more than one option in an option group has been provided.
AlreadySelectedException(String) - constructor for class org.apache.commons.cli.AlreadySelectedException
Construct a new AlreadySelectedException with the specified detail message.
Appends the usage clause for an Option to a StringBuffer.
Appends the usage clause for an OptionGroup to a StringBuffer.
argName - field in class org.apache.commons.cli.Option
argName specifies the name of the argument for this option
argName - static field in class org.apache.commons.cli.OptionBuilder
argument name
args - field in class org.apache.commons.cli.CommandLine
the unrecognised options/arguments

B

BasicParser - class org.apache.commons.cli.BasicParser
The class BasicParser provides a very simple implementation of the flatten method.
burstToken(String,boolean) - method in class org.apache.commons.cli.PosixParser
Breaks token into its constituent parts using the following algorithm.

C

checkRequiredOptions() - method in class org.apache.commons.cli.Parser
Throws a MissingOptionException if all of the required options are no present.
CLASS_VALUE - static field in class org.apache.commons.cli.PatternOptionBuilder
Class class
clearValues() - method in class org.apache.commons.cli.Option
Clear the Option values.
clone() - method in class org.apache.commons.cli.Option
A rather odd clone method - due to incorrect code in 1.0 it is public and in 1.1 rather than throwing a CloneNotSupportedException it throws a RuntimeException so as to maintain backwards compat at the API level.
cmd - field in class org.apache.commons.cli.Parser
commandline instance
CommandLine - class org.apache.commons.cli.CommandLine
Represents list of arguments parsed against a Options descriptor.
CommandLine() - constructor for class org.apache.commons.cli.CommandLine
Creates a command line.
CommandLineParser - interface org.apache.commons.cli.CommandLineParser
A class that implements the CommandLineParser interface can parse a String array according to the Options specified and return a CommandLine.
compare(Object,Object) - method in class org.apache.commons.cli.HelpFormatter.OptionComparator
Compares its two arguments for order.
create() - static method in class org.apache.commons.cli.OptionBuilder
Create an Option using the current settings
create(char) - static method in class org.apache.commons.cli.OptionBuilder
Create an Option using the current settings and with the specified Option char.
create(String) - static method in class org.apache.commons.cli.OptionBuilder
Create an Option using the current settings and with the specified Option char.
createClass(String) - static method in class org.apache.commons.cli.TypeHandler
Returns the class whose name is str.
createDate(String) - static method in class org.apache.commons.cli.TypeHandler
Returns the date represented by str.
createFile(String) - static method in class org.apache.commons.cli.TypeHandler
Returns the File represented by str.
createFiles(String) - static method in class org.apache.commons.cli.TypeHandler
Returns the File[] represented by str.
createNumber(String) - static method in class org.apache.commons.cli.TypeHandler
Create a number from a String.
createObject(String) - static method in class org.apache.commons.cli.TypeHandler
Create an Object from the classname and empty constructor.
createPadding(int) - method in class org.apache.commons.cli.HelpFormatter
Return a String of padding of length len.
createURL(String) - static method in class org.apache.commons.cli.TypeHandler
Returns the URL represented by str.
createValue(String,Class) - static method in class org.apache.commons.cli.TypeHandler
Returns the Object of type clazz with the value of str.
createValue(String,Object) - static method in class org.apache.commons.cli.TypeHandler
Returns the Object of type obj with the value of str.
currentOption - field in class org.apache.commons.cli.PosixParser
holder for the current option

D

DATE_VALUE - static field in class org.apache.commons.cli.PatternOptionBuilder
Date class
DEFAULT_ARG_NAME - static field in class org.apache.commons.cli.HelpFormatter
default name for an argument
DEFAULT_DESC_PAD - static field in class org.apache.commons.cli.HelpFormatter
the number of characters of padding to be prefixed to each description line
DEFAULT_LEFT_PAD - static field in class org.apache.commons.cli.HelpFormatter
default padding to the left of each line
DEFAULT_LONG_OPT_PREFIX - static field in class org.apache.commons.cli.HelpFormatter
default prefix for long Option
DEFAULT_OPT_PREFIX - static field in class org.apache.commons.cli.HelpFormatter
default prefix for shortOpts
DEFAULT_SYNTAX_PREFIX - static field in class org.apache.commons.cli.HelpFormatter
the string to display at the begining of the usage statement
DEFAULT_WIDTH - static field in class org.apache.commons.cli.HelpFormatter
default number of characters per line
defaultArgName - field in class org.apache.commons.cli.HelpFormatter
the name of the argument
defaultDescPad - field in class org.apache.commons.cli.HelpFormatter
the number of characters of padding to be prefixed to each description line
defaultLeftPad - field in class org.apache.commons.cli.HelpFormatter
amount of padding to the left of each line
defaultLongOptPrefix - field in class org.apache.commons.cli.HelpFormatter
the long Opt prefix
defaultNewLine - field in class org.apache.commons.cli.HelpFormatter
the new line string
defaultOptPrefix - field in class org.apache.commons.cli.HelpFormatter
the shortOpt prefix
defaultSyntaxPrefix - field in class org.apache.commons.cli.HelpFormatter
the string to display at the begining of the usage statement
defaultWidth - field in class org.apache.commons.cli.HelpFormatter
number of characters per line
description - field in class org.apache.commons.cli.Option
description of the option
description - static field in class org.apache.commons.cli.OptionBuilder
option description

E

eatTheRest - field in class org.apache.commons.cli.PosixParser
specifies if bursting should continue
equals(Object) - method in class org.apache.commons.cli.Option
EXISTING_FILE_VALUE - static field in class org.apache.commons.cli.PatternOptionBuilder
FileInputStream class

F

FILE_VALUE - static field in class org.apache.commons.cli.PatternOptionBuilder
File class
FILES_VALUE - static field in class org.apache.commons.cli.PatternOptionBuilder
File array class
findWrapPos(String,int,int) - method in class org.apache.commons.cli.HelpFormatter
Finds the next text wrap position after startPos for the text in text with the column width width.
A simple implementation of Parser's abstract flatten method.
This flatten method does so using the following rules:
  1. If an Option exists for the first character of the arguments entry AND an Option does not exist for the whole argument then add the first character as an option to the processed tokens list e.g.
flatten(org.apache.commons.cli.Options,String[],boolean) - method in class org.apache.commons.cli.Parser
Subclasses must implement this method to reduce the arguments that have been passed to the parse method.
An implementation of Parser's abstract flatten method.

G

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.HelpFormatter
Returns the 'argName'.
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.
getDescPadding() - method in class org.apache.commons.cli.HelpFormatter
Returns the 'descPadding'.
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.
getKey() - method in class org.apache.commons.cli.Option
Returns the 'unique' Option identifier.
getLeftPadding() - method in class org.apache.commons.cli.HelpFormatter
Returns the 'leftPadding'.
getLongOpt() - method in class org.apache.commons.cli.Option
Retrieve the long name of this Option.
getLongOptPrefix() - method in class org.apache.commons.cli.HelpFormatter
Returns the 'longOptPrefix'.
getNames() - method in class org.apache.commons.cli.OptionGroup
getNewLine() - method in class org.apache.commons.cli.HelpFormatter
Returns the 'newLine'.
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
Retrieve the named Option
getOptionGroup(org.apache.commons.cli.Option) - method in class org.apache.commons.cli.Options
Returns the OptionGroup the opt belongs to.
getOptionGroups() - method in class org.apache.commons.cli.Options
Lists the OptionGroups that are members of this Options instance.
getOptionObject(char) - method in class org.apache.commons.cli.CommandLine
Return the Object type of this Option.
getOptionObject(String) - 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 Options.
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(char) - method in class org.apache.commons.cli.CommandLine
Retrieve the argument, if any, of this option.
getOptionValue(char,String) - method in class org.apache.commons.cli.CommandLine
Retrieve the argument, if any, of an option.
getOptionValue(String) - 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.
getOptionValues(char) - method in class org.apache.commons.cli.CommandLine
Retrieves the array of values, 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.
getOptPrefix() - method in class org.apache.commons.cli.HelpFormatter
Returns the 'optPrefix'.
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
getSyntaxPrefix() - method in class org.apache.commons.cli.HelpFormatter
Returns the 'syntaxPrefix'.
getType() - method in class org.apache.commons.cli.Option
Retrieve the type of this Option.
getValue() - method in class org.apache.commons.cli.Option
Returns the specified value of this Option or null if there is no value.
getValue(int) - method in class org.apache.commons.cli.Option
Returns the specified value of this Option or null if there is no value.
getValue(String) - method in class org.apache.commons.cli.Option
Returns the value/first value of this Option or the defaultValue if there is no value.
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
Return the values of this Option as a String array or null if there are no values
getValueSeparator() - method in class org.apache.commons.cli.Option
Returns the value separator character.
getValuesList() - method in class org.apache.commons.cli.Option
getWidth() - method in class org.apache.commons.cli.HelpFormatter
Returns the 'width'.
GnuParser - class org.apache.commons.cli.GnuParser
The class GnuParser provides an implementation of the flatten method.
gobble(Iterator) - method in class org.apache.commons.cli.PosixParser
Adds the remaining tokens to the processed tokens list.

H

hasArg - field 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.
hashCode() - method in class org.apache.commons.cli.Option
hasLongOpt() - method in class org.apache.commons.cli.Option
Query to see if this Option has a long name
hasNoValues() - method in class org.apache.commons.cli.Option
Returns whether this Option has any values.
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.CommandLine
Query to see if an option has been set.
hasOption(String) - method in class org.apache.commons.cli.Options
Returns whether the named Option is a member of this 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.
hasValueSeparator() - method in class org.apache.commons.cli.Option
Return whether this Option has specified a value separator.
HelpFormatter - class org.apache.commons.cli.HelpFormatter
A formatter of help messages for the current command line options
helpOptions() - method in class org.apache.commons.cli.Options
Returns the Options for use by the HelpFormatter.

I

init() - method in class org.apache.commons.cli.GnuParser
Resets the members to their original state i.e.
init() - method in class org.apache.commons.cli.PosixParser
Resets the members to their original state i.e.
instance - static field in class org.apache.commons.cli.OptionBuilder
option builder instance
isRequired() - method in class org.apache.commons.cli.Option
Query to see if this Option requires an argument
isRequired() - static method in class org.apache.commons.cli.OptionBuilder
The next Option created will be required.
isRequired() - method in class org.apache.commons.cli.OptionGroup
Returns whether this option group is required.
isRequired(boolean) - static method in class org.apache.commons.cli.OptionBuilder
The next Option created will be required if required is true.
isValidChar(char) - static method in class org.apache.commons.cli.OptionValidator
Returns whether the specified character is a valid character.
isValidOpt(char) - static method in class org.apache.commons.cli.OptionValidator
Returns whether the specified character is a valid Option.
isValueCode(char) - static method in class org.apache.commons.cli.PatternOptionBuilder
Returns whether ch is a value code, i.e.
iterator() - method in class org.apache.commons.cli.CommandLine
Returns an iterator over the Option members of CommandLine.

L

longOpt - field in class org.apache.commons.cli.Option
longOpt is the long representation of the option
longopt - static field in class org.apache.commons.cli.OptionBuilder
long option
longOpts - field in class org.apache.commons.cli.Options
a map of the options with the long key

M

MissingArgumentException - class org.apache.commons.cli.MissingArgumentException
Thrown when an option requiring an argument is not provided with an argument.
MissingArgumentException(String) - constructor for class org.apache.commons.cli.MissingArgumentException
Construct a new MissingArgumentException with the specified detail message.
MissingOptionException - class org.apache.commons.cli.MissingOptionException
Thrown when a required option has not been provided.
MissingOptionException(String) - constructor for class org.apache.commons.cli.MissingOptionException
Construct a new MissingSelectedException with the specified detail message.

N

NUMBER_VALUE - static field in class org.apache.commons.cli.PatternOptionBuilder
Number class
numberOfArgs - field in class org.apache.commons.cli.Option
numberOfArgs specifies the number of argument values this option can have
numberOfArgs - static field in class org.apache.commons.cli.OptionBuilder
the number of arguments

O

OBJECT_VALUE - static field in class org.apache.commons.cli.PatternOptionBuilder
Object class
opt - field in class org.apache.commons.cli.Option
opt the name of the option
Option - class org.apache.commons.cli.Option
Describes a single command-line option.
Option(String,boolean,String) - constructor for class org.apache.commons.cli.Option
Creates an Option using the specified parameters.
Option(String,String) - constructor for class org.apache.commons.cli.Option
Creates an Option using the specified parameters.
Option(String,String,boolean,String) - constructor for class org.apache.commons.cli.Option
Creates an Option using the specified parameters.
optionalArg - field in class org.apache.commons.cli.Option
specifies whether the argument value of this Option is optional
optionalArg - static field in class org.apache.commons.cli.OptionBuilder
option can have an optional argument value
OptionBuilder - class org.apache.commons.cli.OptionBuilder
OptionBuilder allows the user to create Options using descriptive methods.
OptionBuilder() - constructor for class org.apache.commons.cli.OptionBuilder
private constructor to prevent instances being created
This class implements the Comparator interface for comparing Options.
OptionGroup - class org.apache.commons.cli.OptionGroup
A group of mutually exclusive options.
optionGroups - field in class org.apache.commons.cli.Options
a map of the option groups
optionMap - field in class org.apache.commons.cli.OptionGroup
hold the options
options - field in class org.apache.commons.cli.CommandLine
the processed options
Options - class org.apache.commons.cli.Options
Main entry-point into the library.
options - field in class org.apache.commons.cli.Parser
current Options
options - field in class org.apache.commons.cli.PosixParser
the command line Options
Options() - constructor for class org.apache.commons.cli.Options
Construct a new Options descriptor
OptionValidator - class org.apache.commons.cli.OptionValidator
Validates an Option string.
Commons CLI 1.0

P

parse(org.apache.commons.cli.Options,String[]) - method in class org.apache.commons.cli.CommandLineParser
Parse the arguments according to the specified options.
parse(org.apache.commons.cli.Options,String[]) - method in class org.apache.commons.cli.Parser
Parses the specified arguments based on the specifed Options.
Parse the arguments according to the specified options.
parse(org.apache.commons.cli.Options,String[],boolean) - method in class org.apache.commons.cli.Parser
Parses the specified arguments based on the specifed Options.
parse(org.apache.commons.cli.Options,String[],Properties) - method in class org.apache.commons.cli.Parser
Parse the arguments according to the specified options and properties.
Parse the arguments according to the specified options and properties.
ParseException - class org.apache.commons.cli.ParseException
Base for Exceptions thrown during parsing of a command-line.
ParseException(String) - constructor for class org.apache.commons.cli.ParseException
Construct a new ParseException with the specified detail message.
parsePattern(String) - static method in class org.apache.commons.cli.PatternOptionBuilder
Returns the Options instance represented by pattern.
Parser - class org.apache.commons.cli.Parser
Parser creates CommandLines.
PatternOptionBuilder - class org.apache.commons.cli.PatternOptionBuilder
Allows Options to be created from a single String.
PosixParser - class org.apache.commons.cli.PosixParser
The class PosixParser provides an implementation of the flatten method.
Print the help for options with the specified command line syntax.
Print the help for options with the specified command line syntax.
Print the help for options with the specified command line syntax.
Print the help for options with the specified command line syntax.
printHelp(String,org.apache.commons.cli.Options) - method in class org.apache.commons.cli.HelpFormatter
Print the help for options with the specified command line syntax.
Print the help for options with the specified command line syntax.
Print the help for options with the specified command line syntax.
Print the help for options with the specified command line syntax.
Print the help for the specified Options to the specified writer, using the specified width, left padding and description padding.
printUsage(PrintWriter,int,String) - method in class org.apache.commons.cli.HelpFormatter
Print the cmdLineSyntax to the specified writer, using the specified width.
Prints the usage statement for the specified application.
printWrapped(PrintWriter,int,int,String) - method in class org.apache.commons.cli.HelpFormatter
Print the specified text to the specified PrintWriter.
printWrapped(PrintWriter,int,String) - method in class org.apache.commons.cli.HelpFormatter
Print the specified text to the specified PrintWriter.
process(String) - method in class org.apache.commons.cli.PosixParser
If there is a current option and it can have an argument value then add the token to the processed tokens list and set the current option to null.
processArgs(org.apache.commons.cli.Option,ListIterator) - method in class org.apache.commons.cli.Parser
Process the argument values for the specified Option opt using the values retrieved from the specified iterator iter.
processOption(String,ListIterator) - method in class org.apache.commons.cli.Parser
Process the Option specified by arg using the values retrieved from the specfied iterator iter.
processOptionToken(String,boolean) - method in class org.apache.commons.cli.PosixParser
If an Option exists for token then set the current option and add the token to the processed list.
processProperties(Properties) - method in class org.apache.commons.cli.Parser
Sets the values of Options using the values in properties.
processSingleHyphen(String) - method in class org.apache.commons.cli.PosixParser
If it is a hyphen then add the hyphen directly to the processed tokens list.
processValue(String) - method in class org.apache.commons.cli.Option
Processes the value.

R

Render the specified Options and return the rendered Options in a StringBuffer.
renderWrappedText(StringBuffer,int,int,String) - method in class org.apache.commons.cli.HelpFormatter
Render the specified text and return the rendered Options in a StringBuffer.
required - field in class org.apache.commons.cli.Option
required specifies whether this option is required to be present
required - static field in class org.apache.commons.cli.OptionBuilder
is required?
required - field in class org.apache.commons.cli.OptionGroup
specified whether this group is required
requiredOptions - field in class org.apache.commons.cli.Parser
list of required options strings
requiredOpts - field in class org.apache.commons.cli.Options
a map of the required options
reset() - static method in class org.apache.commons.cli.OptionBuilder
Resets the member variables to their default values.
resolveOption(String) - method in class org.apache.commons.cli.CommandLine
Retrieves the option object given the long or short option as a String
rtrim(String) - method in class org.apache.commons.cli.HelpFormatter
Remove the trailing whitespace from the specified String.

S

selected - field in class org.apache.commons.cli.OptionGroup
the name of the selected option
setArgName(String) - method in class org.apache.commons.cli.HelpFormatter
Sets the 'argName'.
setArgName(String) - method in class org.apache.commons.cli.Option
Sets the display name for the argument value.
setArgs(int) - method in class org.apache.commons.cli.Option
Sets the number of argument values this Option can take.
setDescPadding(int) - method in class org.apache.commons.cli.HelpFormatter
Sets the 'descPadding'.
setDescription(String) - method in class org.apache.commons.cli.Option
Sets the self-documenting description of this Option
setLeftPadding(int) - method in class org.apache.commons.cli.HelpFormatter
Sets the 'leftPadding'.
setLongOpt(String) - method in class org.apache.commons.cli.Option
Sets the long name of this Option.
setLongOptPrefix(String) - method in class org.apache.commons.cli.HelpFormatter
Sets the 'longOptPrefix'.
setNewLine(String) - method in class org.apache.commons.cli.HelpFormatter
Sets the 'newLine'.
setOptionalArg(boolean) - method in class org.apache.commons.cli.Option
Sets whether this Option can have an optional argument.
setOptPrefix(String) - method in class org.apache.commons.cli.HelpFormatter
Sets the 'optPrefix'.
setRequired(boolean) - method in class org.apache.commons.cli.Option
Sets whether this Option is mandatory.
setRequired(boolean) - method in class org.apache.commons.cli.OptionGroup
setSelected(org.apache.commons.cli.Option) - method in class org.apache.commons.cli.OptionGroup
set the selected option of this group to name.
setSyntaxPrefix(String) - method in class org.apache.commons.cli.HelpFormatter
Sets the 'syntaxPrefix'.
setType(Object) - method in class org.apache.commons.cli.Option
Sets the type of this Option.
setValueSeparator(char) - method in class org.apache.commons.cli.Option
Sets the value separator.
setWidth(int) - method in class org.apache.commons.cli.HelpFormatter
Sets the 'width'.
shortOpts - field in class org.apache.commons.cli.Options
a map of the options with the character key
STRING_VALUE - static field in class org.apache.commons.cli.PatternOptionBuilder
String class
stripLeadingAndTrailingQuotes(String) - static method in class org.apache.commons.cli.Util
Remove the leading and trailing quotes from str.
stripLeadingHyphens(String) - static method in class org.apache.commons.cli.Util
Remove the hyphens from the begining of str and return the new String.

T

tokens - field in class org.apache.commons.cli.GnuParser
holder for flattened tokens
tokens - field in class org.apache.commons.cli.PosixParser
holder for flattened tokens
toString() - method in class org.apache.commons.cli.Option
Dump state, suitable for debugging.
toString() - method in class org.apache.commons.cli.OptionGroup
Returns the stringified version of this OptionGroup.
toString() - method in class org.apache.commons.cli.Options
Dump state, suitable for debugging.
type - field in class org.apache.commons.cli.Option
the type of this Option
type - static field in class org.apache.commons.cli.OptionBuilder
option type
TypeHandler - class org.apache.commons.cli.TypeHandler
This is a temporary implementation.

U

UNINITIALIZED - static field in class org.apache.commons.cli.Option
constant that specifies the number of argument values has not been specified
UNLIMITED_VALUES - static field in class org.apache.commons.cli.Option
constant that specifies the number of argument values is infinite
Exception thrown during parsing signalling an unrecognized option was seen.
UnrecognizedOptionException(String) - constructor for class org.apache.commons.cli.UnrecognizedOptionException
Construct a new UnrecognizedArgumentException with the specified detail message.
URL_VALUE - static field in class org.apache.commons.cli.PatternOptionBuilder
URL class
Util - class org.apache.commons.cli.Util
Contains useful helper methods for classes within this package.

V

validateOption(String) - static method in class org.apache.commons.cli.OptionValidator
Validates whether opt is a permissable Option shortOpt.
values - field in class org.apache.commons.cli.Option
the list of argument values *
valuesep - field in class org.apache.commons.cli.Option
the character that is the value separator
valuesep - static field in class org.apache.commons.cli.OptionBuilder
value separator for argument value

W

withArgName(String) - static method in class org.apache.commons.cli.OptionBuilder
The next Option created will have the specified argument value name.
withDescription(String) - static method in class org.apache.commons.cli.OptionBuilder
The next Option created will have the specified description
withLongOpt(String) - static method in class org.apache.commons.cli.OptionBuilder
The next Option created will have the following long option value.
withType(Object) - static method in class org.apache.commons.cli.OptionBuilder
The next Option created will have a value that will be an instance of type.
withValueSeparator() - static method in class org.apache.commons.cli.OptionBuilder
The next Option created uses '=' as a means to separate argument values.
withValueSeparator(char) - static method in class org.apache.commons.cli.OptionBuilder
The next Option created uses sep as a means to separate argument values.