A B C D E F G H I L M N O P R S T U V
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- accept(String) - Method in class snaq.util.jclap.FileOption.FileFilter
-
Determines whether the string argument is valid as an option value.
- accept(String) - Method in interface snaq.util.jclap.StringOption.Filter
-
Determines whether the specified argument should be accepted for use by the host
StringOptioninstance. - ACCEPT_ALL - snaq.util.jclap.FileOption.FileFilter.AcceptExistance
-
Use to accept existing or non-existing files.
- ACCEPT_ALL - snaq.util.jclap.FileOption.FileFilter.AcceptFileType
-
Use to accept only files or directories.
- ACCEPT_DIR - snaq.util.jclap.FileOption.FileFilter.AcceptFileType
-
Use to accept only directories (not files).
- ACCEPT_EXISTING - snaq.util.jclap.FileOption.FileFilter.AcceptExistance
-
Use to accept only existing files.
- ACCEPT_FILE - snaq.util.jclap.FileOption.FileFilter.AcceptFileType
-
Use to accept only files (not directories).
- ACCEPT_NON_EXISTING - snaq.util.jclap.FileOption.FileFilter.AcceptExistance
-
Use to accept only non-existing files.
- addBooleanOption(String) - Method in class snaq.util.jclap.CLAParser
-
Convenience method to add an
Optionof typeBoolean(single value allowed). - addBooleanOption(String, boolean) - Method in class snaq.util.jclap.CLAParser
-
Convenience method to add an
Optionof typeBoolean. - addBooleanOption(String, int) - Method in class snaq.util.jclap.CLAParser
-
Convenience method to add an
Optionof typeBoolean. - addBooleanOption(String, String, String) - Method in class snaq.util.jclap.CLAParser
-
Convenience method to add an
Optionof typeBoolean(single value allowed). - addBooleanOption(String, String, String, boolean) - Method in class snaq.util.jclap.CLAParser
-
Convenience method to add an
Optionof typeBoolean. - addBooleanOption(String, String, String, int) - Method in class snaq.util.jclap.CLAParser
-
Convenience method to add an
Optionof typeBoolean. - addBooleanOption(String, String, String, int, int) - Method in class snaq.util.jclap.CLAParser
-
Convenience method to add an
Optionof typeBoolean. - addDirectoryExistingOption(String, String, String, boolean, boolean) - Method in class snaq.util.jclap.CLAParser
-
Convenience method to add an
Optionof typeStringwhich refers to an existing folder. - addDirectoryExistingOption(String, String, String, int, int) - Method in class snaq.util.jclap.CLAParser
-
Convenience method to add an
Optionof typeStringwhich refers to an existing folder. - addDoubleOption(String, boolean, boolean) - Method in class snaq.util.jclap.CLAParser
-
Convenience method to add an
Optionof typeDouble. - addDoubleOption(String, int, int) - Method in class snaq.util.jclap.CLAParser
-
Convenience method to add an
Optionof typeDouble. - addDoubleOption(String, String, String, boolean, boolean) - Method in class snaq.util.jclap.CLAParser
-
Convenience method to add an
Optionof typeDouble. - addDoubleOption(String, String, String, int, int) - Method in class snaq.util.jclap.CLAParser
-
Convenience method to add an
Optionof typeDouble. - addEnumIntegerOption(String, String, String, boolean, boolean, int[]) - Method in class snaq.util.jclap.CLAParser
-
Convenience method to add an
Optionof enumeratedIntegertype. - addEnumIntegerOption(String, String, String, int[]) - Method in class snaq.util.jclap.CLAParser
-
Convenience method to add an
Optionof enumeratedIntegertype (single value allowed, non-mandatory). - addEnumStringOption(String, String, String, boolean, boolean, String[]) - Method in class snaq.util.jclap.CLAParser
-
Convenience method to add an
Optionof enumeratedStringtype (case-insensitive string matching). - addEnumStringOption(String, String, String, boolean, boolean, String[], boolean) - Method in class snaq.util.jclap.CLAParser
-
Convenience method to add an
Optionof enumeratedStringtype. - addEnumStringOption(String, String, String, int, int, String[], boolean) - Method in class snaq.util.jclap.CLAParser
-
Convenience method to add an
Optionof enumeratedStringtype. - addEnumStringOption(String, String, String, String[]) - Method in class snaq.util.jclap.CLAParser
-
Convenience method to add an
Optionof enumeratedStringtype (single value allowed, non-mandatory). - addFileExistingOption(String, String, String, boolean, boolean) - Method in class snaq.util.jclap.CLAParser
-
Convenience method to add an
Optionof typeStringwhich refers to an existing file (which is not a folder). - addFileExistingOption(String, String, String, int, int) - Method in class snaq.util.jclap.CLAParser
-
Convenience method to add an
Optionof typeStringwhich refers to an existing file (which is not a folder). - addFileNewOption(String, String, String, boolean, boolean) - Method in class snaq.util.jclap.CLAParser
-
Convenience method to add an
Optionof typeStringwhich refers to a new or existing file/folder. - addFileOption(String, String, String, boolean, boolean) - Method in class snaq.util.jclap.CLAParser
-
Convenience method to add an
Optionof typeStringwhich refers to a file/folder. - addFloatOption(String, boolean, boolean) - Method in class snaq.util.jclap.CLAParser
-
Convenience method to add an
Optionof typeFloat. - addFloatOption(String, int, int) - Method in class snaq.util.jclap.CLAParser
-
Convenience method to add an
Optionof typeFloat. - addFloatOption(String, String, String, boolean, boolean) - Method in class snaq.util.jclap.CLAParser
-
Convenience method to add an
Optionof typeFloat. - addFloatOption(String, String, String, int, int) - Method in class snaq.util.jclap.CLAParser
-
Convenience method to add an
Optionof typeFloat. - addFolderExistingOption(String, String, String, boolean, boolean) - Method in class snaq.util.jclap.CLAParser
-
Deprecated.
- addFolderExistingOption(String, String, String, int, int) - Method in class snaq.util.jclap.CLAParser
-
Deprecated.
- addIntegerOption(String, boolean, boolean) - Method in class snaq.util.jclap.CLAParser
-
Convenience method to add an
Optionof typeInteger. - addIntegerOption(String, int, int) - Method in class snaq.util.jclap.CLAParser
-
Convenience method to add an
Optionof typeInteger. - addIntegerOption(String, String, String, boolean, boolean) - Method in class snaq.util.jclap.CLAParser
-
Convenience method to add an
Optionof typeInteger. - addIntegerOption(String, String, String, int, int) - Method in class snaq.util.jclap.CLAParser
-
Convenience method to add an
Optionof typeInteger. - addLocalDateOption(String, boolean, boolean) - Method in class snaq.util.jclap.CLAParser
-
Convenience method to add an
Optionof typeLocalDate(no long name, no description). - addLocalDateOption(String, int, int) - Method in class snaq.util.jclap.CLAParser
-
Convenience method to add an
Optionof typeLocalDate(no long name, no description). - addLocalDateOption(String, String, String) - Method in class snaq.util.jclap.CLAParser
-
Convenience method to add an
Optionof typeLocalDate(single value allowed, non-mandatory). - addLocalDateOption(String, String, String, boolean, boolean) - Method in class snaq.util.jclap.CLAParser
-
Convenience method to add an
Optionof typeLocalDate. - addLocalDateOption(String, String, String, int, int) - Method in class snaq.util.jclap.CLAParser
-
Convenience method to add an
Optionof typeLocalDate. - addLongOption(String, boolean, boolean) - Method in class snaq.util.jclap.CLAParser
-
Convenience method to add an
Optionof typeLong. - addLongOption(String, int, int) - Method in class snaq.util.jclap.CLAParser
-
Convenience method to add an
Optionof typeLong. - addLongOption(String, String, String, boolean, boolean) - Method in class snaq.util.jclap.CLAParser
-
Convenience method to add an
Optionof typeLong. - addLongOption(String, String, String, int, int) - Method in class snaq.util.jclap.CLAParser
-
Convenience method to add an
Optionof typeLong. - addOption(Option<T>) - Method in class snaq.util.jclap.CLAParser
-
Adds the specified
Optionto the list of those to be parsed from the command-line arguments. - addStringOption(String, boolean, boolean) - Method in class snaq.util.jclap.CLAParser
-
Convenience method to add an
Optionof typeString(no long name, no description). - addStringOption(String, int, int) - Method in class snaq.util.jclap.CLAParser
-
Convenience method to add an
Optionof typeString(no long name, no description). - addStringOption(String, String, String) - Method in class snaq.util.jclap.CLAParser
-
Convenience method to add an
Optionof typeString(single value allowed, non-mandatory). - addStringOption(String, String, String, boolean, boolean) - Method in class snaq.util.jclap.CLAParser
-
Convenience method to add an
Optionof typeString. - addStringOption(String, String, String, int, int) - Method in class snaq.util.jclap.CLAParser
-
Convenience method to add an
Optionof typeString. - addValue(E) - Method in class snaq.util.jclap.Option
-
Adds the specified value to the list of those parsed.
B
- BooleanOption - Class in snaq.util.jclap
-
Implementation of an
Optionwith value of typeBoolean(otherwise known as a "flag"). - BooleanOption(String, String, String, boolean) - Constructor for class snaq.util.jclap.BooleanOption
-
Creates a new
BooleanOptioninstance. - BooleanOption(String, String, String, int, int) - Constructor for class snaq.util.jclap.BooleanOption
-
Creates a new
BooleanOptioninstance. - BUNDLE - Static variable in class snaq.util.jclap.Option
-
Resources for internationalization.
- BUNDLE - Static variable in exception snaq.util.jclap.OptionException
-
Resources for internationalization.
C
- CLAParser - Class in snaq.util.jclap
-
Utility class to provide support for command-line options parsing.
- CLAParser() - Constructor for class snaq.util.jclap.CLAParser
-
Creates a new
CLAParserinstance, using the default locale. - CLAParser(Locale) - Constructor for class snaq.util.jclap.CLAParser
-
Creates a new
CLAParserinstance, using the default locale.
D
- DoubleOption - Class in snaq.util.jclap
-
Implementation of an
Optionwith value of typeDouble. - DoubleOption(String, String, String, boolean, boolean) - Constructor for class snaq.util.jclap.DoubleOption
-
Creates a new
DoubleOptioninstance. - DoubleOption(String, String, String, int, int) - Constructor for class snaq.util.jclap.DoubleOption
-
Creates a new
DoubleOptioninstance.
E
- EnumeratedIntegerOption - Class in snaq.util.jclap
-
Implementation of an
Optionwith value restricted to a specified enumeration of typeInteger. - EnumeratedIntegerOption(String, String, String, boolean, boolean, Collection<Integer>) - Constructor for class snaq.util.jclap.EnumeratedIntegerOption
-
Creates a new
EnumeratedIntegerOptioninstance. - EnumeratedIntegerOption(String, String, String, int, int, Collection<Integer>) - Constructor for class snaq.util.jclap.EnumeratedIntegerOption
-
Creates a new
EnumeratedIntegerOptioninstance. - EnumeratedOption<E> - Class in snaq.util.jclap
-
Implementation of an
Optionwith value restricted to an enumeration of a specified return value type. - EnumeratedOption(String, String, String, boolean, boolean, Collection<E>) - Constructor for class snaq.util.jclap.EnumeratedOption
-
Creates a new
EnumeratedOptioninstance. - EnumeratedOption(String, String, String, int, int, Collection<E>) - Constructor for class snaq.util.jclap.EnumeratedOption
-
Creates a new
EnumeratedOptioninstance. - EnumeratedStringOption - Class in snaq.util.jclap
-
Implementation of an
Optionwith value restricted to a specified enumeration of typeString. - EnumeratedStringOption(String, String, String, boolean, boolean, Collection<String>, boolean) - Constructor for class snaq.util.jclap.EnumeratedStringOption
-
Creates a new
EnumeratedStringOptioninstance. - EnumeratedStringOption(String, String, String, int, int, Collection<String>, boolean) - Constructor for class snaq.util.jclap.EnumeratedStringOption
-
Creates a new
EnumeratedStringOptioninstance. - equals(Object) - Method in class snaq.util.jclap.Option
F
- FileFilter(FileOption.FileFilter.AcceptExistance, FileOption.FileFilter.AcceptFileType) - Constructor for class snaq.util.jclap.FileOption.FileFilter
-
Creates a new
FileOptioninstance (allows files/folders). - FileOption - Class in snaq.util.jclap
- FileOption(String, String, String, boolean, boolean) - Constructor for class snaq.util.jclap.FileOption
-
Creates a new
FileOptioninstance. - FileOption(String, String, String, int, int) - Constructor for class snaq.util.jclap.FileOption
-
Creates a new
FileOptioninstance. - FileOption.FileFilter - Class in snaq.util.jclap
-
Implementation of an
StringOption.Filterwhich filters based on existence and type of file to which the string refers. - FileOption.FileFilter.AcceptExistance - Enum in snaq.util.jclap
-
Enumeration of possible file existence states to accept.
- FileOption.FileFilter.AcceptFileType - Enum in snaq.util.jclap
-
Enumeration of possible types to accept.
- FloatOption - Class in snaq.util.jclap
-
Implementation of an
Optionwith value of typeFloat. - FloatOption(String, String, String, boolean, boolean) - Constructor for class snaq.util.jclap.FloatOption
-
Creates a new
FloatOptioninstance. - FloatOption(String, String, String, int, int) - Constructor for class snaq.util.jclap.FloatOption
-
Creates a new
FloatOptioninstance.
G
- getAllowedValues() - Method in class snaq.util.jclap.EnumeratedOption
-
Returns an unmodifiable collection of the values that can be assigned to this option.
- getAllowedValuesString() - Method in class snaq.util.jclap.EnumeratedOption
- getAllowedValuesString() - Method in class snaq.util.jclap.EnumeratedStringOption
-
Returns the default version of the string denoting the values that can be assigned to this option.
- getAllowedValuesString(String, String, String) - Method in class snaq.util.jclap.EnumeratedOption
-
Returns a string denoting the values that can be assigned to this option.
- getBooleanOptionValue(String) - Method in class snaq.util.jclap.CLAParser
-
Convenience method to return the parsed value of the named option, or
falseif the option was not set. - getBooleanOptionValue(String, Boolean) - Method in class snaq.util.jclap.CLAParser
-
Convenience method to return the parsed value of the named option, or the specified default value if the option was not set.
- getBooleanOptionValues(String) - Method in class snaq.util.jclap.CLAParser
-
Returns a list of all the parsed values for the specified option, or an empty list if the option was not set.
- getDateFormat(Locale) - Method in class snaq.util.jclap.LocalDateOption
- getDescription() - Method in class snaq.util.jclap.Option
- getDoubleOptionValue(String) - Method in class snaq.util.jclap.CLAParser
-
Convenience method to return the parsed value of the named option, or null if the option was not set.
- getDoubleOptionValue(String, Double) - Method in class snaq.util.jclap.CLAParser
-
Convenience method to return the parsed value of the named option, or the specified default value if the option was not set.
- getDoubleOptionValues(String) - Method in class snaq.util.jclap.CLAParser
-
Returns a list of all the parsed values for the specified option, or an empty list if the option was not set.
- getFileOptionValue(String) - Method in class snaq.util.jclap.CLAParser
-
Convenience method to return the parsed value of the named option, or null if the option was not set.
- getFileOptionValue(String, File) - Method in class snaq.util.jclap.CLAParser
-
Convenience method to return the parsed value of the named option, or the specified default value if the option was not set.
- getFileOptionValues(String) - Method in class snaq.util.jclap.CLAParser
-
Returns a list of all the parsed values for the specified option, or an empty list if the option was not set.
- getFilter() - Method in class snaq.util.jclap.StringOption
-
Returns the
StringOption.Filterfor this instance. - getFloatOptionValue(String) - Method in class snaq.util.jclap.CLAParser
-
Convenience method to return the parsed value of the named option, or null if the option was not set.
- getFloatOptionValue(String, Float) - Method in class snaq.util.jclap.CLAParser
-
Convenience method to return the parsed value of the named option, or the specified default value if the option was not set.
- getFloatOptionValues(String) - Method in class snaq.util.jclap.CLAParser
-
Returns a list of all the parsed values for the specified option, or an empty list if the option was not set.
- getIntegerOptionValue(String) - Method in class snaq.util.jclap.CLAParser
-
Convenience method to return the parsed value of the named option, or null if the option was not set.
- getIntegerOptionValue(String, Integer) - Method in class snaq.util.jclap.CLAParser
-
Convenience method to return the parsed value of the named option, or the specified default value if the option was not set.
- getIntegerOptionValues(String) - Method in class snaq.util.jclap.CLAParser
-
Returns a list of all the parsed values for the specified option, or an empty list if the option was not set.
- getLocalDateOptionValue(String) - Method in class snaq.util.jclap.CLAParser
-
Convenience method to return the parsed value of the named option, or null if the option was not set.
- getLocalDateOptionValue(String, LocalDate) - Method in class snaq.util.jclap.CLAParser
-
Convenience method to return the parsed value of the named option, or the specified default value if the option was not set.
- getLocalDateOptionValues(String) - Method in class snaq.util.jclap.CLAParser
-
Returns a list of all the parsed values for the specified option, or an empty list if the option was not set.
- getLocalizedMessage() - Method in exception snaq.util.jclap.OptionException
- getLongName() - Method in class snaq.util.jclap.Option
- getLongOptionValue(String) - Method in class snaq.util.jclap.CLAParser
-
Convenience method to return the parsed value of the named option, or null if the option was not set.
- getLongOptionValue(String, Long) - Method in class snaq.util.jclap.CLAParser
-
Convenience method to return the parsed value of the named option, or the specified default value if the option was not set.
- getLongOptionValues(String) - Method in class snaq.util.jclap.CLAParser
-
Returns a list of all the parsed values for the specified option, or an empty list if the option was not set.
- getMaxCount() - Method in class snaq.util.jclap.Option
- getMessage() - Method in exception snaq.util.jclap.OptionException
- getMinCount() - Method in class snaq.util.jclap.Option
- getNonOptionArguments() - Method in class snaq.util.jclap.CLAParser
-
Returns a list of the non-option command-line arguments.
- getOption(String, Class<T>) - Method in class snaq.util.jclap.CLAParser
-
Returns the
Optionwith the specified name (either short or long). - getOptions() - Method in class snaq.util.jclap.CLAParser
-
Returns all the
Optioninstances registered with the parser. - getOptionValue(String, Class<T>) - Method in class snaq.util.jclap.CLAParser
-
Convenience method to return the parsed value of the named option, or null if the option was not set, equivalent to
getOptionValue(optionName, type, null). - getOptionValue(String, Class<T>, T) - Method in class snaq.util.jclap.CLAParser
-
Convenience method to return the parsed value of the named option, or the specified default value if the option was not set.
- getOptionValue(Option<T>) - Method in class snaq.util.jclap.CLAParser
-
Convenience method to return the parsed value of the specified option, or null if the option was not set.
- getOptionValue(Option<T>, T) - Method in class snaq.util.jclap.CLAParser
-
Convenience method to return the parsed value of the specified option, or the specified default value if the option was not set.
- getOptionValues(String, Class<T>) - Method in class snaq.util.jclap.CLAParser
-
Returns a list of all the parsed values for the specified option, or an empty list if the option was not set.
- getOptionValues(Option<T>) - Method in class snaq.util.jclap.CLAParser
-
Returns a list of all the parsed values for the specified option, or an empty list if the option was not set.
- getShortName() - Method in class snaq.util.jclap.Option
- getStringOptionValue(String) - Method in class snaq.util.jclap.CLAParser
-
Convenience method to return the parsed value of the named option, or null if the option was not set.
- getStringOptionValue(String, String) - Method in class snaq.util.jclap.CLAParser
-
Convenience method to return the parsed value of the named option, or the specified default value if the option was not set.
- getStringOptionValues(String) - Method in class snaq.util.jclap.CLAParser
-
Returns a list of all the parsed values for the specified option, or an empty list if the option was not set.
- getType() - Method in class snaq.util.jclap.BooleanOption
- getType() - Method in class snaq.util.jclap.DoubleOption
-
Returns the class type of value this option can take.
- getType() - Method in class snaq.util.jclap.EnumeratedIntegerOption
-
Returns the class type of value this option can take.
- getType() - Method in class snaq.util.jclap.EnumeratedStringOption
-
Returns the class type of value this option can take.
- getType() - Method in class snaq.util.jclap.FloatOption
-
Returns the class type of value this option can take.
- getType() - Method in class snaq.util.jclap.IntegerOption
-
Returns the class type of value this option can take.
- getType() - Method in class snaq.util.jclap.LocalDateOption
-
Returns the class type of value this option can take.
- getType() - Method in class snaq.util.jclap.LongOption
-
Returns the class type of value this option can take.
- getType() - Method in class snaq.util.jclap.Option
-
Returns the class type of value this option can take.
- getType() - Method in exception snaq.util.jclap.OptionException
- getType() - Method in class snaq.util.jclap.StringOption
-
Returns the class type of value this option can take.
- getUsageTypeString(ResourceBundle) - Method in class snaq.util.jclap.FileOption
- getValues() - Method in class snaq.util.jclap.Option
H
- hashCode() - Method in class snaq.util.jclap.Option
I
- ILLEGAL_OPTION_VALUE - snaq.util.jclap.OptionException.Type
-
Thrown for illegal/missing value in value-requiring option.
- IntegerOption - Class in snaq.util.jclap
-
Implementation of an
Optionwith value of typeInteger. - IntegerOption(String, String, String, boolean, boolean) - Constructor for class snaq.util.jclap.IntegerOption
-
Creates a new
IntegerOptioninstance. - IntegerOption(String, String, String, int, int) - Constructor for class snaq.util.jclap.IntegerOption
-
Creates a new
IntegerOptioninstance. - INVALID_OPTION_COUNT - snaq.util.jclap.OptionException.Type
-
Thrown for invalid option value count.
- INVALID_OPTION_TYPE - snaq.util.jclap.OptionException.Type
-
Thrown for trying to retrieve an option without a valid type specified.
- INVALID_OPTION_VALUE_COUNT - snaq.util.jclap.OptionException.Type
-
Thrown for trying to assign an invalid number of value to option.
- INVALID_RETRIEVAL_TYPE - snaq.util.jclap.OptionException.Type
-
Thrown for trying to retrieve single value for multiple value option.
- isAllowMany() - Method in class snaq.util.jclap.Option
- isHidden() - Method in class snaq.util.jclap.Option
- isMandatory() - Method in class snaq.util.jclap.Option
- isValueValid(E, Locale) - Method in class snaq.util.jclap.EnumeratedOption
- isValueValid(String, Locale) - Method in class snaq.util.jclap.EnumeratedStringOption
L
- LocalDateOption - Class in snaq.util.jclap
-
Option implementation for specifying date values.
- LocalDateOption(String, String, String, boolean, boolean) - Constructor for class snaq.util.jclap.LocalDateOption
-
Creates a new
LocalDateOptioninstance. - LocalDateOption(String, String, String, int, int) - Constructor for class snaq.util.jclap.LocalDateOption
-
Creates a new
LocalDateOptioninstance. - LOCALE - Static variable in class snaq.util.jclap.Option
-
Localefor help/error display. - LOCALE - Static variable in exception snaq.util.jclap.OptionException
-
Localefor help/error display. - LongOption - Class in snaq.util.jclap
-
Implementation of an
Optionwith value of typeLong. - LongOption(String, String, String, boolean, boolean) - Constructor for class snaq.util.jclap.LongOption
-
Creates a new
LongOptioninstance. - LongOption(String, String, String, int, int) - Constructor for class snaq.util.jclap.LongOption
-
Creates a new
LongOptioninstance.
M
- MAX_COUNT_LIMIT - Static variable in class snaq.util.jclap.Option
-
Limit to maximum number of occurrences required for this option (set to an arbitrary 100).
- MIN_COUNT_LIMIT - Static variable in class snaq.util.jclap.Option
-
Limit to minimum number of occurrences required for this option.
N
- NOT_FLAG - snaq.util.jclap.OptionException.Type
-
Thrown for value-requiring option in concatenated short options.
O
- Option<E> - Class in snaq.util.jclap
-
Base implementation of a command-line option.
- Option(String, String, String, boolean, boolean, boolean) - Constructor for class snaq.util.jclap.Option
-
Creates a new
Optioninstance. - Option(String, String, String, boolean, int, int) - Constructor for class snaq.util.jclap.Option
-
Creates a new
Optioninstance. - OPTION_HAS_VALUE - snaq.util.jclap.OptionException.Type
-
Thrown for trying to reassign value to single-value option.
- OptionException - Exception in snaq.util.jclap
-
Exception for command-line option parsing problems.
- OptionException(OptionException.Type, String) - Constructor for exception snaq.util.jclap.OptionException
-
Creates a new
OptionExceptioninstance. - OptionException(OptionException.Type, String, char) - Constructor for exception snaq.util.jclap.OptionException
-
Creates a new
OptionExceptioninstance. - OptionException(OptionException.Type, String, String) - Constructor for exception snaq.util.jclap.OptionException
-
Creates a new
OptionExceptioninstance. - OptionException(OptionException.Type, Option) - Constructor for exception snaq.util.jclap.OptionException
-
Creates a new
OptionExceptioninstance. - OptionException(OptionException.Type, Option, String) - Constructor for exception snaq.util.jclap.OptionException
-
Creates a new
OptionExceptioninstance. - OptionException.Type - Enum in snaq.util.jclap
-
Defines the types of
OptionExceptionthat exist.
P
- parse(String[]) - Method in class snaq.util.jclap.CLAParser
-
Extract the option-mapped and unmapped arguments from the given array of command-line arguments, using the specified locale.
- parsedSolitaryHyphen() - Method in class snaq.util.jclap.CLAParser
-
Returns whether a single
-argument was found. - parseValue(String, Locale) - Method in class snaq.util.jclap.BooleanOption
-
Parsing of a flag option makes little sense.
- parseValue(String, Locale) - Method in class snaq.util.jclap.DoubleOption
-
Parses the argument string for an option value, optionally using the specified locale for reference (e.g.
- parseValue(String, Locale) - Method in class snaq.util.jclap.EnumeratedIntegerOption
-
Parses the argument string for an option value, optionally using the specified locale for reference (e.g.
- parseValue(String, Locale) - Method in class snaq.util.jclap.EnumeratedStringOption
-
Parses the argument string for an option value, optionally using the specified locale for reference (e.g.
- parseValue(String, Locale) - Method in class snaq.util.jclap.FloatOption
-
Parses the argument string for an option value, optionally using the specified locale for reference (e.g.
- parseValue(String, Locale) - Method in class snaq.util.jclap.IntegerOption
-
Parses the argument string for an option value, optionally using the specified locale for reference (e.g.
- parseValue(String, Locale) - Method in class snaq.util.jclap.LocalDateOption
-
Parses the argument string for an option value, optionally using the specified locale for reference (e.g.
- parseValue(String, Locale) - Method in class snaq.util.jclap.LongOption
-
Parses the argument string for an option value, optionally using the specified locale for reference (e.g.
- parseValue(String, Locale) - Method in class snaq.util.jclap.Option
-
Parses the argument string for an option value, optionally using the specified locale for reference (e.g.
- parseValue(String, Locale) - Method in class snaq.util.jclap.StringOption
-
Parses the argument string for an option value, optionally using the specified locale for reference (e.g.
- printUsage(PrintStream, boolean) - Method in class snaq.util.jclap.CLAParser
-
Prints the command-line usage message to the specified
PrintStream, making a guess at the application launch command. - printUsage(PrintStream, boolean, String) - Method in class snaq.util.jclap.CLAParser
-
Deprecated.Recommend to use
CLAParser.printUsage(PrintStream, boolean, String, String, String)as a replacement to avoid confusion over parameter ordering - printUsage(PrintStream, boolean, String, String) - Method in class snaq.util.jclap.CLAParser
-
Deprecated.Recommend to use
CLAParser.printUsage(PrintStream, boolean, String, String, String)as a replacement to avoid confusion over parameter ordering - printUsage(PrintStream, boolean, String, String, String) - Method in class snaq.util.jclap.CLAParser
-
Prints the command-line usage message to the specified
PrintStream.
R
- requiresValue() - Method in class snaq.util.jclap.Option
S
- setDateFormat(DateTimeFormatter) - Method in class snaq.util.jclap.LocalDateOption
-
Sets the
DateTimeFormatterinstance forLocalDateparsing/display. - setFilter(StringOption.Filter) - Method in class snaq.util.jclap.StringOption
-
Sets the
StringOption.Filterfor this instance. - setHidden() - Method in class snaq.util.jclap.Option
-
Sets the flag to hide this option from the usage message.
- setHidden(String) - Method in class snaq.util.jclap.CLAParser
-
Hides the specified
Optionfrom being printed in the usage message. - setMinMaxCounts(int, int) - Method in class snaq.util.jclap.Option
-
Sets the minimum/maximum value counts for this option.
- showLongNamesInShortUsage() - Method in class snaq.util.jclap.CLAParser
-
Allows overriding default behaviour of only showing short option names in the short automatic usage message.
- snaq.util.jclap - package snaq.util.jclap
-
Library for parsing command-line arguments in Java applications.
- StringOption - Class in snaq.util.jclap
-
Implementation of an
Optionwith value of typeString. - StringOption(String, String, String, boolean, boolean) - Constructor for class snaq.util.jclap.StringOption
-
Creates a new
StringOptioninstance. - StringOption(String, String, String, int, int) - Constructor for class snaq.util.jclap.StringOption
-
Creates a new
StringOptioninstance. - StringOption.Filter - Interface in snaq.util.jclap
-
Acceptance filter for
StringOptioninstances.
T
- toString() - Method in class snaq.util.jclap.EnumeratedOption
- toString() - Method in class snaq.util.jclap.Option
U
- UNKNOWN_FLAG - snaq.util.jclap.OptionException.Type
-
Thrown for unknown flag in concatenated short options.
- UNKNOWN_OPTION - snaq.util.jclap.OptionException.Type
-
Thrown for unrecognized option.
V
- valueOf(String) - Static method in enum snaq.util.jclap.FileOption.FileFilter.AcceptExistance
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum snaq.util.jclap.FileOption.FileFilter.AcceptFileType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum snaq.util.jclap.OptionException.Type
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum snaq.util.jclap.FileOption.FileFilter.AcceptExistance
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum snaq.util.jclap.FileOption.FileFilter.AcceptFileType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum snaq.util.jclap.OptionException.Type
-
Returns an array containing the constants of this enum type, in the order they are declared.
All Classes All Packages