| Interface | Description |
|---|---|
| DefaultSource |
An interface describing an object as being able to produce a set of default
values.
|
| ExceptionMap |
A class for aggregating exceptions thrown by JSAP's parsing process.
|
| Flagged |
Marks an argument as being "flagged" - that is, as having its value on the
command line preceded by an indicator.
|
| Class | Description |
|---|---|
| CommandLineTokenizer |
A utility class to parse a command line contained in a single String into
an array of argument tokens, much as the JVM (or more accurately, your
operating system) does before calling your programs'
public static
void main(String[] args)
methods. |
| Defaults |
Stores a collection of default values, associated with their respective
parameters by the parameters' unique IDs.
|
| FlaggedOption |
An option that implements the Flagged interface.
|
| IDMap |
A utility class to allow lookups of parameter IDs by short flag or long flag.
|
| JSAP |
The core class of the JSAP (Java Simple Argument Parser) API.
|
| JSAPResult |
Encapsulates the results of JSAP's parse() methods.
|
| Option |
The base class from which FlaggedOption and UnflaggedOption are derived.
|
| Parameter |
Top-level abstraction of a parameter.
|
| PropertyStringParser |
A
StringParser subclass that provides a means for setting/getting properties. |
| QualifiedSwitch |
A QualifiedSwitch is a parameter that has something in common with a Switch,
i.e., its presence or absence is significant, but different from a "pure"
Switch it can have an additional value (or values) prefixed by a ':' sign
that qualifies the Switch - making it behave like a FlaggedOption if a value
is specified.
|
| SimpleJSAP |
A simple interface to
JSAP that handles directly help,
explanation and an array of parameters. |
| StringParser |
Class responsible for converting Strings into Objects.
|
| Switch |
A Switch is a parameter whose presence alone is significant; another
commonly used term for a Switch is "Flag".
|
| UnflaggedOption |
An option whose meaning is derived from its position in the argument
list rather than a flag
that precedes it.
|
| Exception | Description |
|---|---|
| IllegalMultipleDeclarationException |
An exception indicating that a parameter has illegally been declared multiple
times.
|
| JSAPException |
The base class for all of JSAP's exceptions.
|
| ParseException |
A JSAPException subclass notifying the application of a parse error.
|
| RequiredParameterMissingException |
An exception indicating that a required parameter was missing from the
supplied arguments and defaults.
|
| SyntaxException |
An exception indicating that a syntax error was encountered in the argument
list.
|
| UnknownFlagException |
An exception indicating that a unknown flag has been specified.
|
| UnspecifiedParameterException |
An exception thrown when an argument that requires a conversion
(e.g., an integer) has no associated value, but it is retrieved
by means of a type-specified method (e.g.,
JSAPResult.getInt(String)). |
Copyright © 2016. All rights reserved.