Top Description Methods
org.joda.convert

pack-priv Interface TypedFromStringConverter<T>

extends FromStringConverter<T>
Known Direct Subinterfaces
org.joda.convert.TypedStringConverter
Known Direct Implementers
org.joda.convert.ConstructorFromStringConverter, org.joda.convert.MethodFromStringConverter
Type Parameters
<T>
the type of the converter

Interface defining conversion from a String together with the type.

TypedFromStringConverter is an interface and must be implemented with care. Implementations must be immutable and thread-safe.

Since
2.3

Method Summary

Modifier and TypeMethod and Description
public Class<?>

Returns:

the effective type
getEffectiveType
()

Gets the effective type that the converter works on.

Inherited from org.joda.convert.FromStringConverter:
convertFromString

Method Detail

getEffectiveTypeback to summary
public Class<?> getEffectiveType()

Gets the effective type that the converter works on.

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.

Returns:Class<?>

the effective type