|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use OptionSpec | |
|---|---|
| joptsimple | |
| Uses of OptionSpec in joptsimple |
|---|
| Classes in joptsimple that implement OptionSpec | |
|---|---|
(package private) class |
AbstractOptionSpec<V>
|
(package private) class |
AlternativeLongOptionSpec
Represents the "-W" form of long option specification. |
class |
ArgumentAcceptingOptionSpec<V>
Specification of an option that accepts an argument. |
(package private) class |
NoArgumentOptionSpec
A specification for an option that does not accept arguments. |
(package private) class |
OptionalArgumentOptionSpec<V>
Specification of an option that accepts an optional argument. |
class |
OptionSpecBuilder
Allows callers to specify whether a given option accepts arguments (required or optional). |
(package private) class |
RequiredArgumentOptionSpec<V>
Specification of an option that accepts a required argument. |
| Methods in joptsimple with parameters of type OptionSpec | ||
|---|---|---|
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. |
|
|
OptionSet.valueOf(OptionSpec<V> option)
Gives the argument associated with the given option. |
|
|
OptionSet.valuesOf(OptionSpec<V> option)
Gives any arguments associated with the given option. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||