| Package | Description |
|---|---|
| joptsimple |
| Modifier and Type | Method and Description |
|---|---|
OptionSet |
OptionException.getDetected() |
OptionSet |
OptionParser.parse(String... arguments)
Parses the given command line arguments according to the option specifications given to the parser.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
ArgumentAcceptingOptionSpec.addArguments(OptionSet detectedOptions,
String detectedArgument) |
static OptionException |
OptionException.createUnrecognizedOptionException(String option,
OptionSet detected) |
protected abstract void |
ArgumentAcceptingOptionSpec.detectOptionArgument(OptionParser parser,
joptsimple.ArgumentList arguments,
OptionSet detectedOptions) |
V |
OptionSpec.value(OptionSet detectedOptions)
Gives the argument associated with the given option in the given set of detected options.
|
List<V> |
OptionSpec.values(OptionSet detectedOptions)
Gives any arguments associated with the given option in the given set of detected options.
|
| Constructor and Description |
|---|
MultipleArgumentsForOptionException(Collection<String> options,
OptionSet detected) |
OptionArgumentConversionException(Collection<String> options,
String argument,
Class<?> valueType,
OptionSet detected,
Throwable cause) |
OptionException(Collection<String> options,
OptionSet detected) |
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.