Package org.joda.convert
Interface TypedFromStringConverter<T>
- Type Parameters:
T- the type of the converter
- All Superinterfaces:
FromStringConverter<T>
- All Known Subinterfaces:
TypedStringConverter<T>
- All Known Implementing Classes:
BooleanArrayStringConverterFactory.BooleanArrayStringConverter,BooleanObjectArrayStringConverterFactory.BooleanArrayStringConverter,ByteObjectArrayStringConverterFactory.ByteArrayStringConverter,CharObjectArrayStringConverterFactory.CharecterArrayStringConverter,ConstructorFromStringConverter,EnumStringConverterFactory.EnumStringConverter,JDKStringConverter,MethodFromStringConverter,NumericArrayStringConverterFactory.DoubleArrayStringConverter,NumericArrayStringConverterFactory.FloatArrayStringConverter,NumericArrayStringConverterFactory.IntArrayStringConverter,NumericArrayStringConverterFactory.LongArrayStringConverter,NumericArrayStringConverterFactory.ShortArrayStringConverter,NumericObjectArrayStringConverterFactory.DoubleArrayStringConverter,NumericObjectArrayStringConverterFactory.FloatArrayStringConverter,NumericObjectArrayStringConverterFactory.IntArrayStringConverter,NumericObjectArrayStringConverterFactory.LongArrayStringConverter,NumericObjectArrayStringConverterFactory.ShortArrayStringConverter,OptionalDoubleStringConverter,OptionalIntStringConverter,OptionalLongStringConverter,ReflectionStringConverter,TypedAdapter,TypeStringConverterFactory.TypeStringConverter,TypeTokenStringConverter
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
Methods inherited from interface org.joda.convert.FromStringConverter
convertFromString
-
Method Details
-
getEffectiveType
Class<?> getEffectiveType()Gets the effective type that the converter works on.For example, if a class declares the
FromStringandToStringthen 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:
- the effective type
-