| Modifier and Type | Field and Description |
|---|---|
| private final String | |
| private boolean | |
| private final List |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| protected String | |
| private void | |
| protected abstract V | |
| protected V | |
| public String | description()
Implements joptsimple. |
| public boolean | equals(Object
the reference object with which to compare. that)Overrides java. |
| public final AbstractOptionSpec | |
| pack-priv abstract void | handleOption(OptionParser parser, ArgumentList arguments, OptionSet detectedOptions, String detectedArgument)
|
| public int | |
| public final boolean | isForHelp()
Implements joptsimple. |
| public final List | options()
Implements joptsimple. |
| public boolean | representsNonOptions()
Implements joptsimple. |
| public String | |
| public final V | value(OptionSet
the detected options to search in detectedOptions)Implements joptsimple. |
| public final List | values(OptionSet
the detected options to search in detectedOptions)Implements joptsimple. |
| description | back to summary |
|---|---|
| private final String description | |
| forHelp | back to summary |
|---|---|
| private boolean forHelp | |
| options | back to summary |
|---|---|
| private final List<String> options | |
| AbstractOptionSpec | back to summary |
|---|---|
| pack-priv AbstractOptionSpec(String option) | |
| AbstractOptionSpec | back to summary |
|---|---|
| pack-priv AbstractOptionSpec(List<String> options, String description) | |
| argumentTypeIndicatorFrom | back to summary |
|---|---|
| protected String argumentTypeIndicatorFrom(ValueConverter<V> converter) | |
| arrangeOptions | back to summary |
|---|---|
| private void arrangeOptions(List<String> unarranged) | |
| convert | back to summary |
|---|---|
| protected abstract V convert(String argument) | |
| convertWith | back to summary |
|---|---|
| protected V convertWith(ValueConverter<V> converter, String argument) | |
| description | back to summary |
|---|---|
| public String description() Implements joptsimple. Doc from joptsimple. Description of this option's purpose.
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object that) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| forHelp | back to summary |
|---|---|
| public final AbstractOptionSpec | |
| handleOption | back to summary |
|---|---|
| pack-priv abstract void handleOption(OptionParser parser, ArgumentList arguments, OptionSet detectedOptions, String detectedArgument) | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for the object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| isForHelp | back to summary |
|---|---|
| public final boolean isForHelp() Implements joptsimple. Doc from joptsimple. Tells whether this option is designated as a "help" option. The presence of a "help" option on a command line means that missing "required" options will not cause parsing to fail.
| |
| options | back to summary |
|---|---|
| public final List Implements joptsimple. Doc from joptsimple. A set of options that are mutually synonymous.
| |
| representsNonOptions | back to summary |
|---|---|
| public boolean representsNonOptions() Implements joptsimple. Doc from joptsimple. Tells whether this object represents the non-option arguments of a command line.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |
| value | back to summary |
|---|---|
| public final V value(OptionSet detectedOptions) Implements joptsimple. Doc from joptsimple. Gives the argument associated with the given option in the given set of detected options. Specifying a default argument value for this option will cause this method to return that default value even if this option was not detected on the command line, or if this option can take an optional argument but did not have one on the command line.
| |
| values | back to summary |
|---|---|
| public final List Implements joptsimple. Doc from joptsimple. Gives any arguments associated with the given option in the given set of detected options. Specifying a default argument value for this option will cause this method to return that default value even if this option was not detected on the command line, or if this option can take an optional argument but did not have one on the command line. | |