Package | Description |
---|---|
org.joda.convert | |
org.joda.convert.factory |
Modifier and Type | Interface and Description |
---|---|
interface |
TypedStringConverter<T>
Interface defining conversion to and from a
String together with the type. |
Modifier and Type | Class and Description |
---|---|
(package private) class |
EnumStringConverterFactory.EnumStringConverter |
(package private) class |
JDKStringConverter
Conversion between JDK classes and a
String . |
(package private) class |
MethodConstructorStringConverter<T>
Conversion to and from a string using a toString method and a fromString constructor.
|
(package private) class |
MethodsStringConverter<T>
Conversion to and from a string using two methods.
|
(package private) class |
ReflectionStringConverter<T>
Conversion to and from a string using reflection.
|
(package private) class |
TypedAdapter<T>
Adapts
StringConverter to TypedStringConverter . |
(package private) class |
TypeStringConverter
Parse the string format of Type via Guava TypeToken.
|
(package private) class |
TypeTokenStringConverter
Parse the string format of Guava TypeToken.
|
Modifier and Type | Field and Description |
---|---|
private StringConverter<T> |
TypedAdapter.conv |
Modifier and Type | Method and Description |
---|---|
private <T> StringConverter<T> |
AnnotationStringConverterFactory.findAnnotatedConverter(java.lang.Class<T> cls)
Finds a converter searching annotated.
|
StringConverter<?> |
StringConverterFactory.findConverter(java.lang.Class<?> cls)
Finds a converter by type.
|
StringConverter<?> |
EnumStringConverterFactory.findConverter(java.lang.Class<?> cls)
Finds a converter by type.
|
StringConverter<?> |
AnnotationStringConverterFactory.findConverter(java.lang.Class<?> cls)
Finds a converter by type.
|
<T> StringConverter<T> |
StringConvert.findConverter(java.lang.Class<T> cls)
Finds a suitable converter for the type.
|
StringConverter<java.lang.Object> |
StringConvert.findConverterNoGenerics(java.lang.Class<?> cls)
Finds a suitable converter for the type with open generics.
|
Modifier and Type | Method and Description |
---|---|
(package private) static <R> TypedStringConverter<R> |
TypedAdapter.adapt(java.lang.Class<R> cls,
StringConverter<R> converter) |
<T> void |
StringConvert.register(java.lang.Class<T> cls,
StringConverter<T> converter)
Registers a converter for a specific type.
|
Constructor and Description |
---|
TypedAdapter(StringConverter<T> conv,
java.lang.Class<?> effectiveType) |
Modifier and Type | Method and Description |
---|---|
StringConverter<?> |
NumericObjectArrayStringConverterFactory.findConverter(java.lang.Class<?> cls)
Finds a converter by type.
|
StringConverter<?> |
NumericArrayStringConverterFactory.findConverter(java.lang.Class<?> cls)
Finds a converter by type.
|
StringConverter<?> |
CharObjectArrayStringConverterFactory.findConverter(java.lang.Class<?> cls)
Finds a converter by type.
|
StringConverter<?> |
ByteObjectArrayStringConverterFactory.findConverter(java.lang.Class<?> cls)
Finds a converter by type.
|
StringConverter<?> |
BooleanObjectArrayStringConverterFactory.findConverter(java.lang.Class<?> cls)
Finds a converter by type.
|
StringConverter<?> |
BooleanArrayStringConverterFactory.findConverter(java.lang.Class<?> cls)
Finds a converter by type.
|