| Package | Description |
|---|---|
| com.aspectran.shell.command | |
| com.aspectran.shell.command.option |
A simple API for presenting, processing and validating a command line interface.
|
| Class | Description |
|---|---|
| Option |
Describes a single command-line option.
|
| OptionParser |
A class that implements this
OptionParser interface
can parse a String array according to the Options specified
and return a ParsedOptions. |
| OptionParserException |
Base for Exceptions thrown during parsing of a command-line.
|
| Options |
Main entry-point into the library.
|
| ParsedOptions |
Represents list of arguments parsed against a
Options descriptor. |
| Class | Description |
|---|---|
| AlreadySelectedException |
Thrown when more than one option in an option group
has been provided.
|
| MissingOptionException |
Thrown when a required option has not been provided.
|
| 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.
|
| OptionParser |
A class that implements this
OptionParser interface
can parse a String array according to the Options specified
and return a ParsedOptions. |
| OptionParserException |
Base for Exceptions thrown during parsing of a command-line.
|
| Options |
Main entry-point into the library.
|
| OptionValueType |
Supported Option value types.
|
| ParsedOptions |
Represents list of arguments parsed against a
Options descriptor. |
| UnrecognizedOptionException |
Exception thrown during parsing signalling an unrecognized
option was seen.
|
Copyright © 2008–2017 The Aspectran Project. All rights reserved.