Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
C
D
E
H
I
J
M
N
O
P
R
S
V
W
A
accepts(String)
- Method in class joptsimple.
OptionParser
Tells the parser to recognize the given option.
accepts(String, String)
- Method in class joptsimple.
OptionParser
Tells the parser to recognize the given option.
acceptsAll(Collection<String>)
- Method in class joptsimple.
OptionParser
Tells the parser to recognize the given options, and treat them as synonymous.
acceptsAll(Collection<String>, String)
- Method in class joptsimple.
OptionParser
Tells the parser to recognize the given options, and treat them as synonymous.
addArguments(OptionSet, String)
- Method in class joptsimple.
ArgumentAcceptingOptionSpec
ArgumentAcceptingOptionSpec
<
V
> - Class in
joptsimple
Specification of an option that accepts an argument.
C
canConvertArgument(String)
- Method in class joptsimple.
ArgumentAcceptingOptionSpec
convert(String)
- Method in class joptsimple.
ArgumentAcceptingOptionSpec
convert(String)
- Method in interface joptsimple.
ValueConverter
Converts the given string value into a Java type.
D
describedAs(String)
- Method in class joptsimple.
ArgumentAcceptingOptionSpec
Specifies a description for the argument of the option that this spec represents.
detectOptionArgument(OptionParser, ArgumentList, OptionSet)
- Method in class joptsimple.
ArgumentAcceptingOptionSpec
E
equals(Object)
- Method in class joptsimple.
ArgumentAcceptingOptionSpec
equals(Object)
- Method in class joptsimple.
OptionSet
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.
ArgumentAcceptingOptionSpec
hashCode()
- Method in class joptsimple.
OptionSet
I
isArgumentOfNumberType()
- Method in class joptsimple.
ArgumentAcceptingOptionSpec
J
joptsimple
- package joptsimple
M
multipleOptionMessage()
- Method in exception joptsimple.
OptionException
N
nonOptionArguments()
- Method in class joptsimple.
OptionSet
O
ofType(Class<T>)
- Method in class joptsimple.
ArgumentAcceptingOptionSpec
Specifies a type to which arguments of this spec's option are to be converted.
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 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.
posixlyCorrect(boolean)
- Method in class joptsimple.
OptionParser
Tells the parser whether or not to behave "POSIX-ly correct"-ly.
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.
R
recognizeAlternativeLongOptions(boolean)
- Method in class joptsimple.
OptionParser
Tells the parser either to recognize or ignore
"-W"
-style long options.
S
singleOptionMessage()
- Method in exception joptsimple.
OptionException
singleOptionMessage(String)
- Method in exception joptsimple.
OptionException
V
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(OptionSpec<V>)
- Method in class joptsimple.
OptionSet
Gives the argument associated with the given option.
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.
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 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.
withValuesSeparatedBy(char)
- Method in class joptsimple.
ArgumentAcceptingOptionSpec
Specifies a value separator for the argument of the option that this spec represents.
A
C
D
E
H
I
J
M
N
O
P
R
S
V
W
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes