T - the type of the converterpublic interface TypedStringConverter<T> extends StringConverter<T>
String together with the type.
TypedStringConverter is an interface and must be implemented with care. Implementations must be immutable and thread-safe.
| Modifier and Type | Method and Description |
|---|---|
Class<?> |
getEffectiveType()
Gets the effective type that the converter works on.
|
convertToStringconvertFromStringClass<?> getEffectiveType()
For example, if a class declares the FromString and ToString
then the effective type of the converter is that class. If a subclass is
queried for a converter, then the effective type is that of the superclass.
Copyright © 2010–2017 Joda.org. All rights reserved.