- 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
-
- accepts(String) - Method in interface joptsimple.OptionDeclarer
-
Tells the parser to recognize the given option.
- accepts(String, 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 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>, 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 class joptsimple.OptionParser
-
- acceptsArguments() - Method in class joptsimple.ArgumentAcceptingOptionSpec
-
- acceptsArguments() - Method in class joptsimple.NonOptionArgumentSpec
-
- acceptsArguments() - Method in interface joptsimple.OptionDescriptor
-
- 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
-
- 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.
- 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.
- 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(List<String>) - Constructor for exception joptsimple.OptionException
-
- OptionException(Collection<? extends OptionSpec<?>>) - Constructor for exception joptsimple.OptionException
-
- OptionException(Collection<? extends OptionSpec<?>>, Throwable) - 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 GNU getopt_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 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).
- 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.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
-
- Rows - Class in joptsimple.internal
-
- Rows(int, int) - Constructor for class joptsimple.internal.Rows
-
- value(OptionSet) - Method in interface joptsimple.OptionSpec
-
Gives the argument associated with the given option in the given set of detected options.
- value - Variable in class joptsimple.util.KeyValuePair
-
- 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(OptionSpec<V>) - 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.
- 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(OptionSet) - Method in interface joptsimple.OptionSpec
-
Gives any arguments associated with the given option in the given set of detected options.
- values() - Static method in enum joptsimple.util.PathProperties
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- 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.