T - the type of the converterFromStringConverter<T>, StringConverter<T>, ToStringConverter<T>public 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 | Description |
|---|---|---|
java.lang.Class<?> |
getEffectiveType() |
Gets the effective type that the converter works on.
|
convertFromStringconvertToStringjava.lang.Class<?> 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–2018 Joda.org. All rights reserved.