All Classes
| Class | Description |
|---|---|
| BigDecimalStringParser |
A
StringParser for parsing BigDecimals. |
| BigIntegerStringParser |
A
StringParser for parsing BigIntegers. |
| BooleanStringParser |
A
StringParser for parsing Booleans. |
| ByteStringParser |
A
StringParser for parsing Bytes. |
| CharacterStringParser |
A
StringParser for parsing Characters. |
| ClassStringParser |
A
StringParser for parsing Class objects. |
| ColorStringParser |
A
StringParser for parsing java.awt.Color objects. |
| 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. |
| DateStringParser |
A
StringParser for parsing java.util.Date objects. |
| Defaults |
Stores a collection of default values, associated with their respective
parameters by the parameters' unique IDs.
|
| DefaultSource |
An interface describing an object as being able to produce a set of default
values.
|
| DefaultValue |
Provides a means of specifying default values for the jsap task containing
<default> elements.
|
| DoubleStringParser |
A
StringParser for parsing Doubles. |
| EnumeratedStringParser |
A
StringParser that enforces a limited set of String options for its
values. |
| Example1 | |
| ExceptionMap |
A class for aggregating exceptions thrown by JSAP's parsing process.
|
| FileStringParser |
A StringParser for parsing
File objects. |
| Flagged |
Marks an argument as being "flagged" - that is, as having its value on the
command line preceded by an indicator.
|
| FlaggedOption |
An option that implements the Flagged interface.
|
| FlaggedOptionConfiguration |
Stores/provides configuration data for flaggedoptions nested inside a jsap
ant task.
|
| FloatStringParser |
A
StringParser for parsing Floats. |
| ForNameStringParser |
A
StringParser that passes the
argument to a static method of signature forName(String) of a specified class. |
| IDMap |
A utility class to allow lookups of parameter IDs by short flag or long flag.
|
| IllegalMultipleDeclarationException |
An exception indicating that a parameter has illegally been declared multiple
times.
|
| InetAddressStringParser |
A
StringParser for parsing java.net.InetAddress objects. |
| IntegerStringParser |
A
StringParser for parsing Integers. |
| IntSizeStringParser |
A
StringParser that works like LongSizeStringParser, but
additionally checks that the result is not larger than Integer.MAX_VALUE. |
| JSAP |
The core class of the JSAP (Java Simple Argument Parser) API.
|
| JSAPAntTask |
An ANT task that generates a custom subclass of JSAP to simplify its use
in
a program.
|
| JSAPConfig |
Provides support for loading JSAP configurations at runtime
via an xml file.
|
| JSAPException |
The base class for all of JSAP's exceptions.
|
| JSAPResult |
Encapsulates the results of JSAP's parse() methods.
|
| LongSizeStringParser |
A
StringParser that lets the user specify sizes with an optional unit. |
| LongStringParser |
A
StringParser for parsing Longs. |
| Option |
The base class from which FlaggedOption and UnflaggedOption are derived.
|
| OptionConfiguration |
Stores/provides configuration data common to both flaggedoptions and
unflaggedoptions nested inside a jsap ant task.
|
| PackageStringParser |
A
StringParser for parsing Packages. |
| Parameter |
Top-level abstraction of a parameter.
|
| ParameterConfiguration |
Stores/provides configuration data common to switches, flaggedoptions, and
unflaggedoptions
nested inside a jsap ant task.
|
| ParseException |
A JSAPException subclass notifying the application of a parse error.
|
| ParserProperty |
Stores/provides a single name/value pair for a PropertyStringParser
For detailed information on using the jsap task, see the documentation for
JSAPAntTask.
|
| PropertyDefaultSource |
A DefaultSource with values defined in a java.util.Properties object.
|
| 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.
|
| RequiredParameterMissingException |
An exception indicating that a required parameter was missing from the
supplied arguments and defaults.
|
| ShortStringParser |
A
StringParser for parsing Shorts. |
| SimpleJSAP |
A simple interface to
JSAP that handles directly help,
explanation and an array of parameters. |
| StringParser |
Class responsible for converting Strings into Objects.
|
| StringStringParser |
A
StringParser for parsing Strings. |
| StringUtils | |
| Switch |
A Switch is a parameter whose presence alone is significant; another
commonly used term for a Switch is "Flag".
|
| SwitchConfiguration |
Stores/provides configuration data for switches nested inside a jsap ant
task.
|
| SyntaxException |
An exception indicating that a syntax error was encountered in the argument
list.
|
| TestAll | |
| TestAll |
Contains all of the tests in the stringparsers package.
|
| TestAll |
Runs all of the JSAP tests, including those in sub-packages.
|
| TestColorStringParser |
A series of tests for the ColorStringParser
|
| TestCommandLineTokenizer |
This junit TestCase runs a barrage of tests against the CommandLineTokenizer.
|
| TestDefaults |
Tests JSAP's handling of default values.
|
| TestFlaggedOption | |
| TestJSAPConfiguration |
Tests the JSAPConfiguration class
|
| TestLongStringParser |
A series of tests for the LongStringParser
|
| TestOption |
Tests the Option class
|
| TestParser |
Tests the Parser class.
|
| TestPropertyDefaultSource | |
| TestSwitch |
Tests the Switch class.
|
| TestUsageString |
Tests the ability to automatically create usage information.
|
| TryDumpXML |
Sends a JSAPConfig to System.out as xml (for test purposes)
|
| TryLoadXML |
Loads a silly example JSAP from xml and displays its help message
|
| UnflaggedOption |
An option whose meaning is derived from its position in the argument
list rather than a flag
that precedes it.
|
| UnflaggedOptionConfiguration |
Stores/provides configuration data for unflaggedoptions nested inside a jsap
ant task.
|
| 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)). |
| URLStringParser |
A
StringParser for parsing java.net.URL objects. |