| Interface | Description |
|---|---|
| OptionParser |
A class that implements this
OptionParser interface
can parse a String array according to the Options specified
and return a ParsedOptions. |
| Class | Description |
|---|---|
| DefaultOptionParser |
The default command option parser.
|
| HelpFormatter |
A formatter of help messages for command line options.
|
| Option |
Describes a single command-line option.
|
| Option.Builder |
A nested builder class to create
Option instances
using descriptive methods. |
| OptionGroup |
A group of mutually exclusive options.
|
| Options |
Main entry-point into the library.
|
| OptionUtils |
Contains useful helper methods for classes within this package.
|
| ParsedOptions |
Represents list of arguments parsed against a
Options descriptor. |
| Enum | Description |
|---|---|
| OptionValueType |
Supported Option value types.
|
| Exception | Description |
|---|---|
| AlreadySelectedException |
Thrown when more than one option in an option group
has been provided.
|
| AmbiguousOptionException |
Exception thrown when an option can't be identified from a partial name.
|
| MissingArgumentException |
Thrown when an option requiring an argument
is not provided with an argument.
|
| MissingOptionException |
Thrown when a required option has not been provided.
|
| OptionParserException |
Base for Exceptions thrown during parsing of a command-line.
|
| UnrecognizedOptionException |
Exception thrown during parsing signalling an unrecognized
option was seen.
|
Copyright © 2008–2018 The Aspectran Project. All rights reserved.