A B C D E F G H I J K L M N O P R S T V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AbbreviationMap<V> - Class in joptsimple.internal
-
A map whose keys are strings; when a key/value pair is added to the map, the longest unique abbreviations of that key are added as well, and associated with the value.
- AbbreviationMap() - Constructor for class joptsimple.internal.AbbreviationMap
- AbstractOptionSpec<V> - Class in joptsimple
- accepts(String) - Method in interface joptsimple.OptionDeclarer
-
Tells the parser to recognize the given option.
- accepts(String) - Method in class joptsimple.OptionParser
- accepts(String, String) - Method in interface joptsimple.OptionDeclarer
-
Tells the parser to recognize the given option.
- accepts(String, String) - Method in class joptsimple.OptionParser
- acceptsAll(List<String>) - Method in interface joptsimple.OptionDeclarer
-
Tells the parser to recognize the given options, and treat them as synonymous.
- acceptsAll(List<String>) - Method in class joptsimple.OptionParser
- acceptsAll(List<String>, String) - Method in interface joptsimple.OptionDeclarer
-
Tells the parser to recognize the given options, and treat them as synonymous.
- acceptsAll(List<String>, String) - Method in class joptsimple.OptionParser
- acceptsArguments() - Method in class joptsimple.ArgumentAcceptingOptionSpec
- acceptsArguments() - Method in class joptsimple.NonOptionArgumentSpec
- acceptsArguments() - Method in interface joptsimple.OptionDescriptor
-
Does this option accept arguments?
- add(String, String) - Method in class joptsimple.internal.Rows
- addArguments(OptionSet, String) - Method in class joptsimple.ArgumentAcceptingOptionSpec
- addHeaders(Collection<? extends OptionDescriptor>) - Method in class joptsimple.BuiltinHelpFormatter
-
Adds help row headers for option help columns.
- addNonOptionRow(String) - Method in class joptsimple.BuiltinHelpFormatter
-
Adds a single row of non-option argument help.
- addNonOptionsDescription(Collection<? extends OptionDescriptor>) - Method in class joptsimple.BuiltinHelpFormatter
-
Adds non-option arguments descriptions to the help output.
- addOptionRow(String) - Method in class joptsimple.BuiltinHelpFormatter
-
Adds a row of option help output in the left column, with empty space in the right column.
- addOptionRow(String, String) - Method in class joptsimple.BuiltinHelpFormatter
-
Adds a row of option help output in the left and right columns.
- addOptions(Collection<? extends OptionDescriptor>) - Method in class joptsimple.BuiltinHelpFormatter
-
Adds help rows for the given options.
- addRows(Collection<? extends OptionDescriptor>) - Method in class joptsimple.BuiltinHelpFormatter
-
Adds rows of help output for the given options.
- allowsUnrecognizedOptions() - Method in interface joptsimple.OptionDeclarer
-
Tells the parser to treat unrecognized options as non-option arguments.
- allowsUnrecognizedOptions() - Method in class joptsimple.OptionParser
- appendOptionHelp(StringBuilder, String, String, boolean) - Method in class joptsimple.BuiltinHelpFormatter
-
Appends info about an option's argument to the given buffer.
- appendTypeIndicator(StringBuilder, String, String, char, char) - Method in class joptsimple.BuiltinHelpFormatter
-
Appends a type indicator for an option's argument to the given buffer.
- ArgumentAcceptingOptionSpec<V> - Class in joptsimple
-
Specification of an option that accepts an argument.
- argumentDescription() - Method in class joptsimple.ArgumentAcceptingOptionSpec
- argumentDescription() - Method in class joptsimple.NonOptionArgumentSpec
- argumentDescription() - Method in interface joptsimple.OptionDescriptor
-
Gives a short description of the option's argument.
- argumentTypeIndicator() - Method in class joptsimple.ArgumentAcceptingOptionSpec
- argumentTypeIndicator() - Method in class joptsimple.NonOptionArgumentSpec
- argumentTypeIndicator() - Method in interface joptsimple.OptionDescriptor
-
Gives an indication of the expected type of the option's argument.
- argumentTypeIndicatorFrom(ValueConverter<V>) - Method in class joptsimple.AbstractOptionSpec
- asMap() - Method in class joptsimple.OptionSet
-
Gives all declared options as a map of string to OptionSpec.
- availableIf(String, String...) - Method in class joptsimple.OptionSpecBuilder
-
Informs an option parser that this builder's option is allowed if the given option is present on the command line.
- availableIf(OptionSpec<?>, OptionSpec<?>...) - Method in class joptsimple.OptionSpecBuilder
-
Informs an option parser that this builder's option is allowed if the given option is present on the command line.
- availableUnless(String, String...) - Method in class joptsimple.OptionSpecBuilder
-
Informs an option parser that this builder's option is allowed if the given option is absent on the command line.
- availableUnless(OptionSpec<?>, OptionSpec<?>...) - Method in class joptsimple.OptionSpecBuilder
-
Informs an option parser that this builder's option is allowed if the given option is absent on the command line.
B
- BuiltinHelpFormatter - Class in joptsimple
-
A help formatter that allows configuration of overall row width and column separator width.
- BuiltinHelpFormatter(int, int) - Constructor for class joptsimple.BuiltinHelpFormatter
-
Makes a formatter with a given overall row width and column separator width.
C
- canConvertArgument(String) - Method in class joptsimple.ArgumentAcceptingOptionSpec
- Classes - Class in joptsimple.internal
- contains(String) - Method in class joptsimple.internal.AbbreviationMap
-
Tells whether the given key is in the map, or whether the given key is a unique abbreviation of a key that is in the map.
- contains(String) - Method in interface joptsimple.internal.OptionNameMap
- contains(String) - Method in class joptsimple.internal.SimpleOptionNameMap
- convert(String) - Method in class joptsimple.AbstractOptionSpec
- convert(String) - Method in class joptsimple.ArgumentAcceptingOptionSpec
- convert(String) - Method in class joptsimple.NonOptionArgumentSpec
- convert(String) - Method in class joptsimple.util.DateConverter
- convert(String) - Method in class joptsimple.util.EnumConverter
- convert(String) - Method in class joptsimple.util.InetAddressConverter
- convert(String) - Method in class joptsimple.util.PathConverter
- convert(String) - Method in class joptsimple.util.RegexMatcher
- convert(String) - Method in interface joptsimple.ValueConverter
-
Converts the given string value into a Java type.
- convertWith(ValueConverter<V>, String) - Method in class joptsimple.AbstractOptionSpec
- convertWith(ValueConverter<V>, String) - Static method in class joptsimple.internal.Reflection
- createDefaultValuesDisplay(List<?>) - Method in class joptsimple.BuiltinHelpFormatter
-
Gives a display string for the default values of an option's argument.
- createDescriptionDisplay(OptionDescriptor) - Method in class joptsimple.BuiltinHelpFormatter
-
Gives a string representing a description of the option with the given descriptor.
- createNonOptionArgumentsDisplay(OptionDescriptor) - Method in class joptsimple.BuiltinHelpFormatter
-
Creates a non-options argument help string.
- createOptionDisplay(OptionDescriptor) - Method in class joptsimple.BuiltinHelpFormatter
-
Creates a string for how the given option descriptor is to be represented in help.
D
- DateConverter - Class in joptsimple.util
-
Converts values to
Date
s using aDateFormat
object. - DateConverter(DateFormat) - Constructor for class joptsimple.util.DateConverter
-
Creates a converter that uses the given date formatter/parser.
- datePattern(String) - Static method in class joptsimple.util.DateConverter
-
Creates a converter that uses a
SimpleDateFormat
with the given date/time pattern. - defaultsTo(V[]) - Method in class joptsimple.ArgumentAcceptingOptionSpec
-
Specifies a set of default values for the argument of the option that this spec represents.
- defaultsTo(V, V...) - Method in class joptsimple.ArgumentAcceptingOptionSpec
-
Specifies a set of default values for the argument of the option that this spec represents.
- defaultValues() - Method in class joptsimple.ArgumentAcceptingOptionSpec
- defaultValues() - Method in class joptsimple.NonOptionArgumentSpec
- defaultValues() - Method in interface joptsimple.OptionDescriptor
-
What values will the option take if none are specified on the command line?
- describedAs(String) - Method in class joptsimple.ArgumentAcceptingOptionSpec
-
Specifies a description for the argument of the option that this spec represents.
- describedAs(String) - Method in class joptsimple.NonOptionArgumentSpec
-
Specifies a description for the non-option arguments that this spec represents.
- description() - Method in class joptsimple.AbstractOptionSpec
- description() - Method in interface joptsimple.OptionDescriptor
-
Description of this option's purpose.
- detectOptionArgument(OptionParser, ArgumentList, OptionSet) - Method in class joptsimple.ArgumentAcceptingOptionSpec
- DIRECTORY_EXISTING - joptsimple.util.PathProperties
E
- EMPTY - Static variable in class joptsimple.internal.Strings
- EnumConverter<E extends Enum<E>> - Class in joptsimple.util
-
Converts values to
Enum
s. - EnumConverter(Class<E>) - Constructor for class joptsimple.util.EnumConverter
-
This constructor must be called by subclasses, providing the enum class as the parameter.
- equals(Object) - Method in class joptsimple.AbstractOptionSpec
- equals(Object) - Method in class joptsimple.ArgumentAcceptingOptionSpec
- equals(Object) - Method in class joptsimple.OptionSet
- equals(Object) - Method in class joptsimple.util.KeyValuePair
- extractTypeIndicator(OptionDescriptor) - Method in class joptsimple.BuiltinHelpFormatter
-
Gives an indicator of the type of arguments of the option described by the given descriptor, for use in help.
F
- FILE_EXISTING - joptsimple.util.PathProperties
- FILE_OVERWRITABLE - joptsimple.util.PathProperties
- findAndRemoveNonOptionsSpec(Collection<? extends OptionDescriptor>) - Method in class joptsimple.BuiltinHelpFormatter
-
Finds the non-option arguments descriptor in the given collection, removes it, and returns it.
- findConverter(Class<V>) - Static method in class joptsimple.internal.Reflection
-
Finds an appropriate value converter for the given class.
- fitRowsToWidth() - Method in class joptsimple.BuiltinHelpFormatter
-
Resizes the columns of all the rows to be no wider than the widest element in that column.
- fitToWidth() - Method in class joptsimple.internal.Rows
- forHelp() - Method in class joptsimple.AbstractOptionSpec
- format(Map<String, ? extends OptionDescriptor>) - Method in class joptsimple.BuiltinHelpFormatter
-
Produces help text, given a set of option descriptors.
- format(Map<String, ? extends OptionDescriptor>) - Method in interface joptsimple.HelpFormatter
-
Produces help text, given a set of option descriptors.
- formatHelpWith(HelpFormatter) - Method in class joptsimple.OptionParser
-
Tells the parser to use the given formatter when asked to print help.
- formattedHelpOutput() - Method in class joptsimple.BuiltinHelpFormatter
-
Produces help output for an entire set of options and non-option arguments.
G
- get(String) - Method in class joptsimple.internal.AbbreviationMap
-
Answers the value associated with the given key.
- get(String) - Method in interface joptsimple.internal.OptionNameMap
- get(String) - Method in class joptsimple.internal.SimpleOptionNameMap
- getMessage() - Method in exception joptsimple.OptionException
H
- has(String) - Method in class joptsimple.OptionSet
-
Tells whether the given option was detected.
- has(OptionSpec<?>) - Method in class joptsimple.OptionSet
-
Tells whether the given option was detected.
- hasArgument(String) - Method in class joptsimple.OptionSet
-
Tells whether there are any arguments associated with the given option.
- hasArgument(OptionSpec<?>) - Method in class joptsimple.OptionSet
-
Tells whether there are any arguments associated with the given option.
- hashCode() - Method in class joptsimple.AbstractOptionSpec
- hashCode() - Method in class joptsimple.ArgumentAcceptingOptionSpec
- hashCode() - Method in class joptsimple.OptionSet
- hashCode() - Method in class joptsimple.util.KeyValuePair
- hasOptions() - Method in class joptsimple.OptionSet
-
Tells whether any options were detected.
- hasRequiredOption(Collection<? extends OptionDescriptor>) - Method in class joptsimple.BuiltinHelpFormatter
-
Tells whether the given option descriptors contain a "required" option.
- HelpFormatter - Interface in joptsimple
-
Represents objects charged with taking a set of option descriptions and producing some help text from them.
I
- InetAddressConverter - Class in joptsimple.util
-
Converts values to
InetAddress
usinggetByName
. - InetAddressConverter() - Constructor for class joptsimple.util.InetAddressConverter
- instantiate(Constructor<T>, Object...) - Static method in class joptsimple.internal.Reflection
-
Invokes the given constructor with the given arguments.
- invoke(Method, Object...) - Static method in class joptsimple.internal.Reflection
-
Invokes the given static method with the given arguments.
- isArgumentOfNumberType() - Method in class joptsimple.ArgumentAcceptingOptionSpec
- isForHelp() - Method in class joptsimple.AbstractOptionSpec
- isForHelp() - Method in interface joptsimple.OptionSpec
-
Tells whether this option is designated as a "help" option.
- isNullOrEmpty(String) - Static method in class joptsimple.internal.Strings
-
Tells whether the given string is either or consists solely of whitespace characters.
- isRequired() - Method in class joptsimple.ArgumentAcceptingOptionSpec
- isRequired() - Method in class joptsimple.NonOptionArgumentSpec
- isRequired() - Method in interface joptsimple.OptionDescriptor
-
Is this option required on a command line?
J
- join(Iterable<String>, String) - Static method in class joptsimple.internal.Strings
-
Gives a string consisting of the string representations of the elements of a given array of objects, each separated by a given separator string.
- join(String[], String) - Static method in class joptsimple.internal.Strings
-
Gives a string consisting of the elements of a given array of strings, each separated by a given separator string.
- joptsimple - package joptsimple
- joptsimple.internal - package joptsimple.internal
- joptsimple.util - package joptsimple.util
K
- key - Variable in class joptsimple.util.KeyValuePair
- KeyValuePair - Class in joptsimple.util
-
A simple string key/string value pair.
L
- LINE_SEPARATOR - Static variable in class joptsimple.internal.Strings
M
- maybeAppendNonOptionsDescription(StringBuilder, OptionDescriptor) - Method in class joptsimple.BuiltinHelpFormatter
-
Appends help for the given non-option arguments descriptor to the given buffer.
- maybeAppendOptionInfo(StringBuilder, OptionDescriptor) - Method in class joptsimple.BuiltinHelpFormatter
-
Appends additional info about the given option to the given buffer.
- message(String, Object...) - Method in class joptsimple.BuiltinHelpFormatter
-
Looks up and gives a resource bundle message.
- message(Locale, String, Class<?>, String, Object...) - Static method in class joptsimple.internal.Messages
- Messages - Class in joptsimple.internal
- multipleOptionString() - Method in exception joptsimple.OptionException
- mutuallyExclusive(OptionSpecBuilder...) - Method in class joptsimple.OptionParser
-
Mandates mutual exclusiveness for the options built by the specified builders.
N
- nonOptionArguments() - Method in class joptsimple.OptionSet
- NonOptionArgumentSpec<V> - Class in joptsimple
-
Specification of a command line's non-option arguments.
- nonOptionOutput() - Method in class joptsimple.BuiltinHelpFormatter
-
Produces non-option argument help.
- nonOptions() - Method in interface joptsimple.OptionDeclarer
-
Gives an object that represents an access point for non-option arguments on a command line.
- nonOptions() - Method in class joptsimple.OptionParser
- nonOptions(String) - Method in interface joptsimple.OptionDeclarer
-
Gives an object that represents an access point for non-option arguments on a command line.
- nonOptions(String) - Method in class joptsimple.OptionParser
- NOT_EXISTING - joptsimple.util.PathProperties
O
- ofType(Class<T>) - Method in class joptsimple.ArgumentAcceptingOptionSpec
-
Specifies a type to which arguments of this spec's option are to be converted.
- ofType(Class<T>) - Method in class joptsimple.NonOptionArgumentSpec
-
Specifies a type to which the non-option arguments are to be converted.
- OptionDeclarer - Interface in joptsimple
-
Trains the option parser.
- OptionDescriptor - Interface in joptsimple
-
Describes options that an option parser recognizes, in ways that might be useful to help screens.
- OptionException - Exception in joptsimple
-
Thrown when a problem occurs during option parsing.
- OptionException(Collection<? extends OptionSpec<?>>) - Constructor for exception joptsimple.OptionException
- OptionException(Collection<? extends OptionSpec<?>>, Throwable) - Constructor for exception joptsimple.OptionException
- OptionException(List<String>) - Constructor for exception joptsimple.OptionException
- optionLeader(String) - Method in class joptsimple.BuiltinHelpFormatter
-
Gives a string that represents the given option's "option leader" in help.
- OptionNameMap<V> - Interface in joptsimple.internal
-
Map-like interface for storing String-value pairs.
- optionOutput() - Method in class joptsimple.BuiltinHelpFormatter
-
Produces help for options and their descriptions.
- OptionParser - Class in joptsimple
-
Parses command line arguments, using a syntax that attempts to take from the best of POSIX
getopt()
and GNUgetopt_long()
. - OptionParser() - Constructor for class joptsimple.OptionParser
-
Creates an option parser that initially recognizes no options, and does not exhibit "POSIX-ly correct" behavior.
- OptionParser(boolean) - Constructor for class joptsimple.OptionParser
-
Creates an option parser that initially recognizes no options, and does not exhibit "POSIX-ly correct" behavior.
- OptionParser(String) - Constructor for class joptsimple.OptionParser
-
Creates an option parser and configures it to recognize the short options specified in the given string.
- options() - Method in class joptsimple.AbstractOptionSpec
- options() - Method in interface joptsimple.OptionDescriptor
-
A set of options that are mutually synonymous.
- options() - Method in exception joptsimple.OptionException
-
Gives the option being considered when the exception was created.
- options() - Method in interface joptsimple.OptionSpec
- OptionSet - Class in joptsimple
-
Representation of a group of detected command line options, their arguments, and non-option arguments.
- OptionSpec<V> - Interface in joptsimple
-
Describes options that an option parser recognizes.
- OptionSpecBuilder - Class in joptsimple
-
Allows callers to specify whether a given option accepts arguments (required or optional).
P
- parse(String...) - Method in class joptsimple.OptionParser
-
Parses the given command line arguments according to the option specifications given to the parser.
- PathConverter - Class in joptsimple.util
-
Converts command line options to
Path
objects and checks the status of the underlying file. - PathConverter(PathProperties...) - Constructor for class joptsimple.util.PathConverter
- PathProperties - Enum in joptsimple.util
-
Enum for checking common conditions of files and directories.
- posixlyCorrect(boolean) - Method in interface joptsimple.OptionDeclarer
-
Tells the parser whether or not to behave "POSIX-ly correct"-ly.
- posixlyCorrect(boolean) - Method in class joptsimple.OptionParser
- printHelpOn(OutputStream) - Method in class joptsimple.OptionParser
-
Writes information about the options this parser recognizes to the given output sink.
- printHelpOn(Writer) - Method in class joptsimple.OptionParser
-
Writes information about the options this parser recognizes to the given output sink.
- put(String, V) - Method in class joptsimple.internal.AbbreviationMap
-
Associates a given value with a given key.
- put(String, V) - Method in interface joptsimple.internal.OptionNameMap
- put(String, V) - Method in class joptsimple.internal.SimpleOptionNameMap
- putAll(Iterable<String>, V) - Method in class joptsimple.internal.AbbreviationMap
-
Associates a given value with a given set of keys.
- putAll(Iterable<String>, V) - Method in interface joptsimple.internal.OptionNameMap
- putAll(Iterable<String>, V) - Method in class joptsimple.internal.SimpleOptionNameMap
R
- READABLE - joptsimple.util.PathProperties
- recognizeAlternativeLongOptions(boolean) - Method in interface joptsimple.OptionDeclarer
-
Tells the parser either to recognize or ignore
-W
-style long options. - recognizeAlternativeLongOptions(boolean) - Method in class joptsimple.OptionParser
- recognizedOptions() - Method in class joptsimple.OptionParser
-
Retrieves all options-spec pairings which have been configured for the parser in the same order as declared during training.
- Reflection - Class in joptsimple.internal
-
Helper methods for reflection.
- ReflectionException - Exception in joptsimple.internal
-
This unchecked exception wraps reflection-oriented exceptions.
- regex(String) - Static method in class joptsimple.util.RegexMatcher
-
Gives a matcher that uses the given regular expression.
- RegexMatcher - Class in joptsimple.util
-
Ensures that values entirely match a regular expression.
- RegexMatcher(String, int) - Constructor for class joptsimple.util.RegexMatcher
-
Creates a matcher that uses the given regular expression, modified by the given flags.
- remove(String) - Method in class joptsimple.internal.AbbreviationMap
-
If the map contains the given key, dissociates the key from its value.
- remove(String) - Method in interface joptsimple.internal.OptionNameMap
- remove(String) - Method in class joptsimple.internal.SimpleOptionNameMap
- render() - Method in class joptsimple.internal.Rows
- repeat(char, int) - Static method in class joptsimple.internal.Strings
-
Gives a string consisting of the given character repeated the given number of times.
- representsNonOptions() - Method in class joptsimple.AbstractOptionSpec
- representsNonOptions() - Method in class joptsimple.NonOptionArgumentSpec
- representsNonOptions() - Method in interface joptsimple.OptionDescriptor
-
Tells whether this object represents the non-option arguments of a command line.
- required() - Method in class joptsimple.ArgumentAcceptingOptionSpec
-
Marks this option as required.
- requiredIf(String, String...) - Method in class joptsimple.OptionSpecBuilder
-
Informs an option parser that this builder's option is required if the given option is present on the command line.
- requiredIf(OptionSpec<?>, OptionSpec<?>...) - Method in class joptsimple.OptionSpecBuilder
-
Informs an option parser that this builder's option is required if the given option is present on the command line.
- requiredUnless(String, String...) - Method in class joptsimple.OptionSpecBuilder
-
Informs an option parser that this builder's option is required if the given option is absent on the command line.
- requiredUnless(OptionSpec<?>, OptionSpec<?>...) - Method in class joptsimple.OptionSpecBuilder
-
Informs an option parser that this builder's option is required if the given option is absent on the command line.
- requiresArgument() - Method in class joptsimple.ArgumentAcceptingOptionSpec
- requiresArgument() - Method in class joptsimple.NonOptionArgumentSpec
- requiresArgument() - Method in interface joptsimple.OptionDescriptor
-
Does this option require an argument?
- reset() - Method in class joptsimple.internal.Rows
- Rows - Class in joptsimple.internal
- Rows(int, int) - Constructor for class joptsimple.internal.Rows
S
- setDelimiters(String) - Method in class joptsimple.util.EnumConverter
-
Sets the delimiters for the message string.
- shortNameOf(String) - Static method in class joptsimple.internal.Classes
-
Gives the "short version" of the given class name.
- shouldShowNonOptionArgumentDisplay(OptionDescriptor) - Method in class joptsimple.BuiltinHelpFormatter
-
Decides whether or not to show a non-option arguments help.
- SimpleOptionNameMap<V> - Class in joptsimple.internal
-
An
OptionNameMap
which wraps and behaves likeHashMap
. - SimpleOptionNameMap() - Constructor for class joptsimple.internal.SimpleOptionNameMap
- singleOptionString() - Method in exception joptsimple.OptionException
- singleOptionString(String) - Method in exception joptsimple.OptionException
- specs() - Method in class joptsimple.OptionSet
-
Gives the set of options that were detected, in the form of OptionSpecs, in the order in which the options were found on the command line.
- Strings - Class in joptsimple.internal
- surround(String, char, char) - Static method in class joptsimple.internal.Strings
-
Gives a string consisting of a given string prepended and appended with surrounding characters.
T
- toJavaUtilMap() - Method in class joptsimple.internal.AbbreviationMap
-
Gives a Java map representation of this abbreviation map.
- toJavaUtilMap() - Method in interface joptsimple.internal.OptionNameMap
- toJavaUtilMap() - Method in class joptsimple.internal.SimpleOptionNameMap
- toString() - Method in class joptsimple.AbstractOptionSpec
- toString() - Method in class joptsimple.util.KeyValuePair
V
- value - Variable in class joptsimple.util.KeyValuePair
- value(OptionSet) - Method in class joptsimple.AbstractOptionSpec
- value(OptionSet) - Method in interface joptsimple.OptionSpec
-
Gives the argument associated with the given option in the given set of detected options.
- ValueConversionException - Exception in joptsimple
-
Thrown by
ValueConverter
s when problems occur in converting string values to other Java types. - ValueConversionException(String) - Constructor for exception joptsimple.ValueConversionException
-
Creates a new exception with the specified detail message.
- ValueConversionException(String, Throwable) - Constructor for exception joptsimple.ValueConversionException
-
Creates a new exception with the specified detail message and cause.
- ValueConverter<V> - Interface in joptsimple
-
Instances of this interface are used to convert arguments of options into specific Java types.
- valueOf(String) - Method in class joptsimple.OptionSet
-
Gives the argument associated with the given option.
- valueOf(String) - Static method in class joptsimple.util.KeyValuePair
-
Parses a string assumed to be of the form
key=value
into its parts. - valueOf(String) - Static method in enum joptsimple.util.PathProperties
-
Returns the enum constant of this type with the specified name.
- valueOf(OptionSpec<V>) - Method in class joptsimple.OptionSet
-
Gives the argument associated with the given option.
- valuePattern() - Method in class joptsimple.util.DateConverter
- valuePattern() - Method in class joptsimple.util.EnumConverter
- valuePattern() - Method in class joptsimple.util.InetAddressConverter
- valuePattern() - Method in class joptsimple.util.PathConverter
- valuePattern() - Method in class joptsimple.util.RegexMatcher
- valuePattern() - Method in interface joptsimple.ValueConverter
-
Gives a string that describes the pattern of the values this converter expects, if any.
- values() - Static method in enum joptsimple.util.PathProperties
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values(OptionSet) - Method in class joptsimple.AbstractOptionSpec
- values(OptionSet) - Method in interface joptsimple.OptionSpec
-
Gives any arguments associated with the given option in the given set of detected options.
- valuesOf(String) - Method in class joptsimple.OptionSet
-
Gives any arguments associated with the given option.
- valuesOf(OptionSpec<V>) - Method in class joptsimple.OptionSet
-
Gives any arguments associated with the given option.
- valueType() - Method in class joptsimple.util.DateConverter
- valueType() - Method in class joptsimple.util.EnumConverter
- valueType() - Method in class joptsimple.util.InetAddressConverter
- valueType() - Method in class joptsimple.util.PathConverter
- valueType() - Method in class joptsimple.util.RegexMatcher
- valueType() - Method in interface joptsimple.ValueConverter
-
Gives the class of the type of values this converter converts to.
W
- withOptionalArg() - Method in class joptsimple.OptionSpecBuilder
-
Informs an option parser that this builder's option accepts an optional argument.
- withRequiredArg() - Method in class joptsimple.OptionSpecBuilder
-
Informs an option parser that this builder's option requires an argument.
- withValuesConvertedBy(ValueConverter<T>) - Method in class joptsimple.ArgumentAcceptingOptionSpec
-
Specifies a converter to use to translate arguments of this spec's option into Java objects.
- withValuesConvertedBy(ValueConverter<T>) - Method in class joptsimple.NonOptionArgumentSpec
-
Specifies a converter to use to translate non-option arguments into Java objects.
- withValuesSeparatedBy(char) - Method in class joptsimple.ArgumentAcceptingOptionSpec
-
Specifies a value separator for the argument of the option that this spec represents.
- withValuesSeparatedBy(String) - Method in class joptsimple.ArgumentAcceptingOptionSpec
-
Specifies a value separator for the argument of the option that this spec represents.
- wrapperOf(Class<T>) - Static method in class joptsimple.internal.Classes
-
Gives the primitive wrapper class for the given class.
- WRITABLE - joptsimple.util.PathProperties
All Classes All Packages