Package | Description |
---|---|
com.beust.jcommander | |
com.beust.jcommander.converters |
Modifier and Type | Method and Description |
---|---|
IStringConverter<?> |
IStringConverterInstanceFactory.getConverterInstance(Parameter parameter,
Class<?> forType,
String optionName)
Obtain a converter instance for parsing
parameter as type forType |
Modifier and Type | Method and Description |
---|---|
<T> Class<? extends IStringConverter<T>> |
IStringConverterFactory.getConverter(Class<T> forType) |
Modifier and Type | Class and 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 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
String s 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 and Description |
---|
DefaultListConverter(IParameterSplitter splitter,
IStringConverter<T> converter)
Constructs a new converter.
|
Copyright © 2017. All rights reserved.