Package org.apache.commons.cli

Commons CLI 1.0

Interface Summary

CommandLineParser A class that implements the CommandLineParser interface can parse a String array according to the Options specified and return a CommandLine.

Class Summary

AlreadySelectedException Thrown when more than one option in an option group has been provided.
BasicParser The class BasicParser provides a very simple implementation of the flatten method.
CommandLine Represents list of arguments parsed against a Options descriptor.
GnuParser The class GnuParser provides an implementation of the flatten method.
HelpFormatter A formatter of help messages for the current command line options
HelpFormatter.OptionComparator This class implements the Comparator interface for comparing Options.
MissingArgumentException Thrown when an option requiring an argument is not provided with an argument.
MissingOptionException Thrown when a required option has not been provided.
OptionDescribes a single command-line option.
OptionBuilder OptionBuilder allows the user to create Options using descriptive methods.
OptionGroup A group of mutually exclusive options.
OptionsMain entry-point into the library.
OptionValidator Validates an Option string.
ParseException Base for Exceptions thrown during parsing of a command-line.
Parser Parser creates CommandLines.
PatternOptionBuilder Allows Options to be created from a single String.
PosixParser The class PosixParser provides an implementation of the flatten method.
TypeHandler This is a temporary implementation.
UnrecognizedOptionException Exception thrown during parsing signalling an unrecognized option was seen.
Util Contains useful helper methods for classes within this package.
Commons CLI 1.0