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