- Objects - Class in joptsimple.internal
-
- 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<String>) - Constructor for exception joptsimple.OptionException
-
- OptionException(Collection<String>, Throwable) - Constructor for exception joptsimple.OptionException
-
- 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(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 the options which have been configured for the parser.
- 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.
- 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
-