| Package | Description |
|---|---|
| com.beust.jcommander | |
| com.beust.jcommander.converters | |
| com.beust.jcommander.internal |
| Modifier and Type | Method | Description |
|---|---|---|
IStringConverter<?> |
IStringConverterInstanceFactory.getConverterInstance(Parameter parameter,
java.lang.Class<?> forType,
java.lang.String optionName) |
Obtain a converter instance for parsing
parameter as type forType |
| Modifier and Type | Method | Description |
|---|---|---|
<T> java.lang.Class<? extends IStringConverter<T>> |
IStringConverterFactory.getConverter(java.lang.Class<T> forType) |
| Modifier and Type | Class | Description |
|---|---|---|
class |
BaseConverter<T> |
Base class for converters that stores the name of the option.
|
class |
BigDecimalConverter |
Converts a String to a BigDecimal.
|
class |
BooleanConverter |
Converts a string to a boolean.
|
class |
CharArrayConverter |
Converts a String to a char[].
|
class |
DefaultListConverter<T> |
A converter to obtain a list of elements.
|
class |
DoubleConverter |
Convert a string to a double.
|
class |
EnumConverter<T extends java.lang.Enum<T>> |
A converter to parse enums
|
class |
FileConverter |
Convert a string into a file.
|
class |
FloatConverter |
Convert a string to a float.
|
class |
InetAddressConverter |
Converts
Strings to InetAddress'. |
class |
IntegerConverter |
Convert a string to an integer.
|
class |
ISO8601DateConverter |
Converts a String to a Date.
|
class |
LongConverter |
Convert a string to a long.
|
class |
NoConverter |
Default value for a converter when none is specified.
|
class |
PathConverter |
Convert a string into a path.
|
class |
StringConverter |
Default converter for strings.
|
class |
URIConverter |
Convert a string into a URI.
|
class |
URLConverter |
Convert a string into a URI.
|
| Constructor | Description |
|---|---|
DefaultListConverter(IParameterSplitter splitter,
IStringConverter<T> converter) |
Constructs a new converter.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.Class<? extends IStringConverter<?>> |
DefaultConverterFactory.getConverter(java.lang.Class forType) |