- 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
-
- AbstractOptionSpec(String) - Constructor for class joptsimple.AbstractOptionSpec
-
- AbstractOptionSpec(List<String>, String) - Constructor for class joptsimple.AbstractOptionSpec
-
- accept(Path) - Method in enum joptsimple.util.PathProperties
-
- 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.NoArgumentOptionSpec
-
- acceptsArguments() - Method in class joptsimple.NonOptionArgumentSpec
-
- acceptsArguments() - Method in interface joptsimple.OptionDescriptor
-
- add(char[], V, int, int) - Method in class joptsimple.internal.AbbreviationMap
-
- add(String, String) - Method in class joptsimple.internal.Rows
-
- add(Row) - Method in class joptsimple.internal.Rows
-
- add(AbstractOptionSpec<?>) - Method in class joptsimple.OptionSet
-
- addArguments(OptionSet, String) - Method in class joptsimple.ArgumentAcceptingOptionSpec
-
- addDefaultValue(V) - 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.
- addToMappings(Map<String, V>) - Method in class joptsimple.internal.AbbreviationMap
-
- addWithArgument(AbstractOptionSpec<?>, String) - Method in class joptsimple.OptionSet
-
- adjustForPosixlyCorrect(OptionParser) - Method in class joptsimple.OptionSpecTokenizer
-
- allowsUnrecognizedOptions() - Method in interface joptsimple.OptionDeclarer
-
Tells the parser to treat unrecognized options as non-option arguments.
- allowsUnrecognizedOptions - Variable in class joptsimple.OptionParser
-
- allowsUnrecognizedOptions() - Method in class joptsimple.OptionParser
-
- AlternativeLongOptionSpec - Class in joptsimple
-
Represents the "-W" form of long option specification.
- AlternativeLongOptionSpec() - Constructor for class joptsimple.AlternativeLongOptionSpec
-
- 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.
- argument - Variable in exception joptsimple.OptionArgumentConversionException
-
- ArgumentAcceptingOptionSpec<V> - Class in joptsimple
-
Specification of an option that accepts an argument.
- ArgumentAcceptingOptionSpec(String, boolean) - Constructor for class joptsimple.ArgumentAcceptingOptionSpec
-
- ArgumentAcceptingOptionSpec(List<String>, boolean, String) - Constructor for class joptsimple.ArgumentAcceptingOptionSpec
-
- argumentDescription - Variable in class joptsimple.ArgumentAcceptingOptionSpec
-
- argumentDescription() - Method in class joptsimple.ArgumentAcceptingOptionSpec
-
- argumentDescription() - Method in class joptsimple.NoArgumentOptionSpec
-
- argumentDescription - Variable in class joptsimple.NonOptionArgumentSpec
-
- argumentDescription() - Method in class joptsimple.NonOptionArgumentSpec
-
- argumentDescription() - Method in interface joptsimple.OptionDescriptor
-
- ArgumentList - Class in joptsimple
-
Wrapper for an array of command line arguments.
- ArgumentList(String...) - Constructor for class joptsimple.ArgumentList
-
- argumentRequired - Variable in class joptsimple.ArgumentAcceptingOptionSpec
-
- arguments - Variable in class joptsimple.ArgumentList
-
- argumentTypeIndicator() - Method in class joptsimple.ArgumentAcceptingOptionSpec
-
- argumentTypeIndicator() - Method in class joptsimple.NoArgumentOptionSpec
-
- 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
-
- arrangeOptions(List<String>) - Method in class joptsimple.AbstractOptionSpec
-
- asMap() - Method in class joptsimple.OptionSet
-
Gives all declared options as a map of string to
OptionSpec.
- attachToParser() - Method in class joptsimple.OptionSpecBuilder
-
- availableIf - Variable in class joptsimple.OptionParser
-
- availableIf(List<String>, String) - Method in class joptsimple.OptionParser
-
- availableIf(List<String>, OptionSpec<?>) - Method in class joptsimple.OptionParser
-
- 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 - Variable in class joptsimple.OptionParser
-
- availableUnless(List<String>, String) - Method in class joptsimple.OptionParser
-
- availableUnless(List<String>, OptionSpec<?>) - Method in class joptsimple.OptionParser
-
- 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.
- option - Variable in class joptsimple.internal.Row
-
- OPTION_TERMINATOR - Static variable in class joptsimple.ParserRules
-
- OptionalArgumentOptionSpec<V> - Class in joptsimple
-
Specification of an option that accepts an optional argument.
- OptionalArgumentOptionSpec(String) - Constructor for class joptsimple.OptionalArgumentOptionSpec
-
- OptionalArgumentOptionSpec(List<String>, String) - Constructor for class joptsimple.OptionalArgumentOptionSpec
-
- OptionArgumentConversionException - Exception in joptsimple
-
Thrown when a problem occurs converting an argument of an option from String to another type.
- OptionArgumentConversionException(OptionSpec<?>, String, Throwable) - Constructor for exception joptsimple.OptionArgumentConversionException
-
- 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.
- OptionMissingRequiredArgumentException - Exception in joptsimple
-
Thrown when the option parser discovers options that require an argument, but are missing an argument.
- OptionMissingRequiredArgumentException(OptionSpec<?>) - Constructor for exception joptsimple.OptionMissingRequiredArgumentException
-
- 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.
- OptionParserState - Class in joptsimple
-
Abstraction of parser state; mostly serves to model how a parser behaves depending on whether end-of-options
has been detected.
- OptionParserState() - Constructor for class joptsimple.OptionParserState
-
- optionRequired - Variable in class joptsimple.ArgumentAcceptingOptionSpec
-
- optionRows - Variable in class joptsimple.BuiltinHelpFormatter
-
- options - Variable in class joptsimple.AbstractOptionSpec
-
- options() - Method in class joptsimple.AbstractOptionSpec
-
- options() - Method in interface joptsimple.OptionDescriptor
-
A set of options that are mutually synonymous.
- options - Variable in exception joptsimple.OptionException
-
- 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.
- OptionSet(Map<String, AbstractOptionSpec<?>>) - Constructor for class joptsimple.OptionSet
-
- optionsHasAnyOf(OptionSet, Collection<OptionSpec<?>>) - Method in class joptsimple.OptionParser
-
- 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).
- OptionSpecBuilder(OptionParser, List<String>, String) - Constructor for class joptsimple.OptionSpecBuilder
-
- OptionSpecTokenizer - Class in joptsimple
-
Tokenizes a short option specification string.
- OptionSpecTokenizer(String) - Constructor for class joptsimple.OptionSpecTokenizer
-
- optionsToArguments - Variable in class joptsimple.OptionSet
-
- optionWidth - Variable in class joptsimple.internal.Columns
-
- optionWidth() - Method in class joptsimple.internal.Rows
-
- overallWidth - Variable in class joptsimple.internal.Rows
-
- raiseValueConversionFailure(String) - Method in class joptsimple.util.RegexMatcher
-
- recognize(AbstractOptionSpec<?>) - Method in class joptsimple.OptionParser
-
- 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 - Variable 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.
- recognizedSpecs - Variable in class joptsimple.OptionSet
-
- Reflection - Class in joptsimple.internal
-
Helper methods for reflection.
- Reflection() - Constructor for class joptsimple.internal.Reflection
-
- reflectionException(Exception) - Static method in class joptsimple.internal.Reflection
-
- ReflectionException - Exception in joptsimple.internal
-
This unchecked exception wraps reflection-oriented exceptions.
- ReflectionException(Throwable) - Constructor for exception joptsimple.internal.ReflectionException
-
- 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(char[], int, int) - Method in class joptsimple.internal.AbbreviationMap
-
- remove(String) - Method in interface joptsimple.internal.OptionNameMap
-
- remove(String) - Method in class joptsimple.internal.SimpleOptionNameMap
-
- removeAtEndOfKey() - Method in class joptsimple.internal.AbbreviationMap
-
- 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.
- RequiredArgumentOptionSpec<V> - Class in joptsimple
-
Specification of an option that accepts a required argument.
- RequiredArgumentOptionSpec(String) - Constructor for class joptsimple.RequiredArgumentOptionSpec
-
- RequiredArgumentOptionSpec(List<String>, String) - Constructor for class joptsimple.RequiredArgumentOptionSpec
-
- requiredIf - Variable in class joptsimple.OptionParser
-
- requiredIf(List<String>, String) - Method in class joptsimple.OptionParser
-
- requiredIf(List<String>, OptionSpec<?>) - Method in class joptsimple.OptionParser
-
- 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 - Variable in class joptsimple.OptionParser
-
- requiredUnless(List<String>, String) - Method in class joptsimple.OptionParser
-
- requiredUnless(List<String>, OptionSpec<?>) - Method in class joptsimple.OptionParser
-
- 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.NoArgumentOptionSpec
-
- requiresArgument() - Method in class joptsimple.NonOptionArgumentSpec
-
- requiresArgument() - Method in interface joptsimple.OptionDescriptor
-
- RESERVED_FOR_EXTENSIONS - Static variable in class joptsimple.ParserRules
-
- reset() - Method in class joptsimple.internal.Rows
-
- reset() - Method in class joptsimple.OptionParser
-
- Row - Class in joptsimple.internal
-
- Row(String, String) - Constructor for class joptsimple.internal.Row
-
- Rows - Class in joptsimple.internal
-
- Rows(int, int) - Constructor for class joptsimple.internal.Rows
-
- rows - Variable in class joptsimple.internal.Rows
-
- validatedDependents(String, String...) - Method in class joptsimple.OptionSpecBuilder
-
- validateOptionCharacters(char[]) - Method in class joptsimple.OptionParser
-
- value(OptionSet) - Method in class joptsimple.AbstractOptionSpec
-
- value - Variable in class joptsimple.internal.AbbreviationMap
-
- 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
ValueConverters 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.
- valueOfConverter(Class<V>) - Static method in class joptsimple.internal.Reflection
-
- valuePattern() - Method in class joptsimple.internal.ConstructorInvokingValueConverter
-
- valuePattern() - Method in class joptsimple.internal.MethodInvokingValueConverter
-
- 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 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.
- values() - Static method in enum joptsimple.util.PathProperties
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- valueSeparator - Variable in class joptsimple.ArgumentAcceptingOptionSpec
-
- 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.internal.ConstructorInvokingValueConverter
-
- valueType() - Method in class joptsimple.internal.MethodInvokingValueConverter
-
- 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.