Package | Description |
---|---|
joptsimple | |
joptsimple.internal | |
joptsimple.util |
Modifier and Type | Method | Description |
---|---|---|
protected String |
AbstractOptionSpec.argumentTypeIndicatorFrom(ValueConverter<V> converter) |
|
protected V |
AbstractOptionSpec.convertWith(ValueConverter<V> converter,
String argument) |
|
<T> ArgumentAcceptingOptionSpec<T> |
ArgumentAcceptingOptionSpec.withValuesConvertedBy(ValueConverter<T> aConverter) |
Specifies a converter to use to translate arguments of this spec's option into Java objects.
|
<T> NonOptionArgumentSpec<T> |
NonOptionArgumentSpec.withValuesConvertedBy(ValueConverter<T> aConverter) |
Specifies a converter to use to translate non-option arguments into Java objects.
|
Modifier and Type | Method | Description |
---|---|---|
static <V> ValueConverter<V> |
Reflection.findConverter(Class<V> clazz) |
Finds an appropriate value converter for the given class.
|
Modifier and Type | Method | Description |
---|---|---|
static <V> V |
Reflection.convertWith(ValueConverter<V> converter,
String raw) |
Modifier and Type | Class | Description |
---|---|---|
class |
DateConverter |
Converts values to
Date s using a DateFormat object. |
class |
EnumConverter<E extends Enum<E>> |
Converts values to
Enum s. |
class |
InetAddressConverter |
Converts values to
InetAddress using getByName . |
class |
PathConverter |
Converts command line options to
Path objects and checks the status of the underlying file. |
class |
RegexMatcher |
Ensures that values entirely match a regular expression.
|
Modifier and Type | Method | Description |
---|---|---|
static ValueConverter<String> |
RegexMatcher.regex(String pattern) |
Gives a matcher that uses the given regular expression.
|
Copyright © 2019. All rights reserved.