All Classes
-
All Classes Interface Summary Class Summary Exception Summary Class Description BigDecimalStringParser AStringParserfor parsing BigDecimals.BigIntegerStringParser AStringParserfor parsing BigIntegers.BooleanStringParser AStringParserfor parsing Booleans.ByteStringParser AStringParserfor parsing Bytes.CharacterStringParser AStringParserfor parsing Characters.ClassStringParser AStringParserfor parsing Class objects.ColorStringParser AStringParserfor 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 AStringParserfor 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 AStringParserfor parsing Doubles.EnumeratedStringParser AStringParserthat 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 parsingFileobjects.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 AStringParserfor parsing Floats.ForNameStringParser AStringParserthat 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 AStringParserfor parsing java.net.InetAddress objects.IntegerStringParser AStringParserfor parsing Integers.IntSizeStringParser AStringParserthat 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 AStringParserthat lets the user specify sizes with an optional unit.LongStringParser AStringParserfor 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 AStringParserfor 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 AStringParsersubclass 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 AStringParserfor parsing Shorts.SimpleJSAP A simple interface toJSAPthat handles directly help, explanation and an array of parameters.StringParser Class responsible for converting Strings into Objects.StringStringParser AStringParserfor 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 AStringParserfor parsing java.net.URL objects.