All Classes
-
All Classes Interface Summary Class Summary Exception Summary Class Description BigDecimalStringParser AStringParser
for parsing BigDecimals.BigIntegerStringParser AStringParser
for parsing BigIntegers.BooleanStringParser AStringParser
for parsing Booleans.ByteStringParser AStringParser
for parsing Bytes.CharacterStringParser AStringParser
for parsing Characters.ClassStringParser AStringParser
for parsing Class objects.ColorStringParser AStringParser
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 AStringParser
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 AStringParser
for parsing Doubles.EnumeratedStringParser AStringParser
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 parsingFile
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 AStringParser
for parsing Floats.ForNameStringParser AStringParser
that passes the argument to a static method of signatureforName(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 AStringParser
for parsing java.net.InetAddress objects.IntegerStringParser AStringParser
for parsing Integers.IntSizeStringParser AStringParser
that works likeLongSizeStringParser
, but additionally checks that the result is not larger thanInteger.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 AStringParser
that lets the user specify sizes with an optional unit.LongStringParser AStringParser
for parsing Longs.Manual_HelloWorld_1 Manual_HelloWorld_2 Manual_HelloWorld_3 Manual_HelloWorld_4 Manual_HelloWorld_5 Manual_HelloWorld_6 Manual_HelloWorld_7 Manual_HelloWorld_8 Manual_HelloWorld_9 A reimplementation of Manual_HelloWorld_8 that loads the JSAP configuration from an XML file.Manual_HelloWorld_Simple 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 AStringParser
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 AStringParser
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 AStringParser
for parsing Shorts.SimpleJSAP A simple interface toJSAP
that handles directly help, explanation and an array of parameters.StringParser Class responsible for converting Strings into Objects.StringStringParser AStringParser
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 ColorStringParserTestCommandLineTokenizer This junit TestCase runs a barrage of tests against the CommandLineTokenizer.TestDefaults Tests JSAP's handling of default values.TestFlaggedOption TestJSAPConfiguration Tests the JSAPConfiguration classTestLongStringParser A series of tests for the LongStringParserTestOption Tests the Option classTestParser 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 messageUnflaggedOption 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 AStringParser
for parsing java.net.URL objects.