Package | Description |
---|---|
org.joda.convert | |
org.joda.convert.factory |
Modifier and Type | Interface and Description |
---|---|
interface |
StringConverter<T>
Interface defining conversion to and from a
String . |
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 |
OptionalDoubleStringConverter
Parse the string format of OptionalDouble from Java 8.
|
(package private) class |
OptionalIntStringConverter
Parse the string format of OptionalInt from Java 8.
|
(package private) class |
OptionalLongStringConverter
Parse the string format of OptionalLong from Java 8.
|
(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 | Method and Description |
---|---|
<T> void |
StringConvert.register(java.lang.Class<T> cls,
ToStringConverter<T> toString,
FromStringConverter<T> fromString)
Registers a converter for a specific type using two separate converters.
|