| Modifier and Type | Field and Description |
|---|---|
| private final transient Option. | |
| private static final long | |
| private final transient Class |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public T | cast(final Object
the object to cast o)Implements abstract org. Return the given object as the type of this option. |
| public T | parseValue(final String
the string string, final ClassLoader the class loader to use to parse the value classLoader)Implements abstract org. Parse a string value for this option. |
| parser | back to summary |
|---|---|
| private final transient Option. | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| type | back to summary |
|---|---|
| private final transient Class<T> type | |
| SingleOption | back to summary |
|---|---|
| pack-priv SingleOption(final Class<?> declClass, final String name, final Class<T> type) | |
| cast | back to summary |
|---|---|
| public T cast(final Object o) Implements abstract org. Doc from org. Return the given object as the type of this option. If the cast could not be completed, an exception is thrown.
| |
| parseValue | back to summary |
|---|---|
| public T parseValue(final String string, final ClassLoader classLoader) throws IllegalArgumentException Implements abstract org. Doc from org. Parse a string value for this option.
| |