Uses of Class
com.martiansoftware.jsap.StringParser
Packages that use StringParser
-
Uses of StringParser in com.martiansoftware.jsap
Subclasses of StringParser in com.martiansoftware.jsapModifier and TypeClassDescriptionclass
AStringParser
subclass that provides a means for setting/getting properties.Methods in com.martiansoftware.jsap that return StringParserModifier and TypeMethodDescriptionfinal StringParser
Option.getStringParser()
Returns the StringParser to which this Option will delegate calls to its parse() method, or null if no StringParser is currently defined.Methods in com.martiansoftware.jsap with parameters of type StringParserModifier and TypeMethodDescriptionprotected final void
Option.internalSetStringParser
(StringParser stringParser) Sets the StringParser to which this Option's parse() method should delegate.FlaggedOption.setStringParser
(StringParser stringParser) Sets the StringParser to which this FlaggedOption's parse() method should delegate.UnflaggedOption.setStringParser
(StringParser stringParser) Sets the StringParser to which this UnflaggedOption's parse() method should delegate.Constructors in com.martiansoftware.jsap with parameters of type StringParserModifierConstructorDescriptionFlaggedOption
(String id, StringParser stringParser, String defaultValue, boolean required, char shortFlag, String longFlag) A shortcut constructor that creates a new FlaggedOption and configures its most commonly used settings.FlaggedOption
(String id, StringParser stringParser, String defaultValue, boolean required, char shortFlag, String longFlag, String help) A shortcut constructor that creates a new FlaggedOption and configures its most commonly used settings, including help.QualifiedSwitch
(String id, StringParser stringParser, String defaultValue, boolean required, char shortFlag, String longFlag) A shortcut constructor that creates a new QualifiedSwitch and configures its most commonly used settings.QualifiedSwitch
(String id, StringParser stringParser, String defaultValue, boolean required, char shortFlag, String longFlag, String help) A shortcut constructor that creates a new QualifiedSwitch and configures its most commonly used settings, including help.UnflaggedOption
(String id, StringParser stringParser, boolean required, String help) A shortcut constructor that creates a new non-greedy UnflaggedOption with no default value and configures its most commonly used settings.UnflaggedOption
(String id, StringParser stringParser, String defaultValue, boolean required, boolean greedy) A shortcut constructor that creates a new UnflaggedOption and configures its most commonly used settings.UnflaggedOption
(String id, StringParser stringParser, String defaultValue, boolean required, boolean greedy, String help) A shortcut constructor that creates a new UnflaggedOption and configures its most commonly used settings. -
Uses of StringParser in com.martiansoftware.jsap.stringparsers
Subclasses of StringParser in com.martiansoftware.jsap.stringparsersModifier and TypeClassDescriptionclass
AStringParser
for parsing BigDecimals.class
AStringParser
for parsing BigIntegers.class
AStringParser
for parsing Booleans.class
AStringParser
for parsing Bytes.class
AStringParser
for parsing Characters.class
AStringParser
for parsing Class objects.class
AStringParser
for parsing java.awt.Color objects.class
AStringParser
for parsing java.util.Date objects.class
AStringParser
for parsing Doubles.class
AStringParser
that enforces a limited set of String options for its values.class
A StringParser for parsingFile
objects.class
AStringParser
for parsing Floats.class
AStringParser
that passes the argument to a static method of signatureforName(String)
of a specified class.class
AStringParser
for parsing java.net.InetAddress objects.class
AStringParser
for parsing Integers.class
AStringParser
that works likeLongSizeStringParser
, but additionally checks that the result is not larger thanInteger.MAX_VALUE
.class
AStringParser
that lets the user specify sizes with an optional unit.class
AStringParser
for parsing Longs.class
AStringParser
for parsing Packages.class
AStringParser
for parsing Shorts.class
AStringParser
for parsing Strings.class
AStringParser
for parsing java.net.URL objects.