| Package | Description |
|---|---|
| joptsimple |
| Modifier and Type | Class and Description |
|---|---|
class |
ArgumentAcceptingOptionSpec<V>
Specification of an option that accepts an argument.
|
class |
OptionSpecBuilder
Allows callers to specify whether a given option accepts arguments (required or optional).
|
| Modifier and Type | Method and Description |
|---|---|
List<OptionSpec<?>> |
OptionSet.specs()
Gives the set of options that were detected, in the form of OptionSpecs, in the order in which the
options were found on the command line.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
OptionSet.has(OptionSpec<?> option)
Tells whether the given option was detected.
|
boolean |
OptionSet.hasArgument(OptionSpec<?> option)
Tells whether there are any arguments associated with the given option.
|
<V> V |
OptionSet.valueOf(OptionSpec<V> option)
Gives the argument associated with the given option.
|
<V> List<V> |
OptionSet.valuesOf(OptionSpec<V> option)
Gives any arguments associated with the given option.
|
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.