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 {@link Parser#flatten(Options,String[],boolean) flatten} method. | |
CommandLine |
Represents list of arguments parsed against a {@link Options} descriptor.
It allows querying of a boolean {@link #hasOption(String opt)}, in addition to retrieving the {@link #getOptionValue(String opt)} for options requiring arguments. Additionally, any left-over or unrecognized arguments, are available for further processing. | |
CommandLineParser |
A class that implements the CommandLineParser interface
can parse a String array according to the {@link Options} specified
and return a {@link CommandLine}.
| |
GnuParser | The class GnuParser provides an implementation of the {@link Parser#flatten(Options,String[],boolean) flatten} method. | |
HelpFormatter | A formatter of help messages for the current command line options | |
HelpFormatter.StringBufferComparator | ||
MissingArgumentException |
Thrown when an option requiring an argument is not provided with an argument. | |
MissingOptionException |
Thrown when a required option has not been provided. | |
Option | Describes a single command-line option. | |
OptionBuilder |
OptionBuilder allows the user to create Options using descriptive methods. Details on the Builder pattern can be found at OptionGroup | A group of mutually exclusive options. |
Options | Main entry-point into the library. Options represents a collection of {@link Option} objects, which describe the possible options for a command-line.
It may flexibly parse long and short options, with or without values. | |
ParseException |
Base for Exceptions thrown during parsing of a command-line. | |
Parser |
| |
PatternOptionBuilder | Allows Options to be created from a single String. | |
PosixParser | The class PosixParser provides an implementation of the {@link Parser#flatten(Options,String[],boolean) flatten} method. | |
TypeHandler | This is a temporary implementation. | |
UnrecognizedOptionException |
Exception thrown during parsing signalling an unrecognized option was seen.
|