br.com.caelum.iogi.conversion
Class TypeConverter<T>
java.lang.Object
br.com.caelum.iogi.conversion.TypeConverter<T>
- All Implemented Interfaces:
- Instantiator<T>
- Direct Known Subclasses:
- BigDecimalConverter, BigIntegerConverter, BooleanPrimitiveConverter, BooleanWrapperConverter, BytePrimitiveConverter, ByteWrapperConverter, CharacterPrimitiveConverter, CharacterWrapperConverter, DoublePrimitiveConverter, DoubleWrapperConverter, EnumConverter, FallbackConverter, FloatPrimitiveConverter, FloatWrapperConverter, IntegerPrimitiveConverter, IntegerWrapperConverter, LocaleBasedCalendarConverter, LongPrimitiveConverter, LongWrapperConverter, ShortPrimitiveConverter, ShortWrapperConverter, StringConverter
public abstract class TypeConverter<T>
- extends Object
- implements Instantiator<T>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TypeConverter
public TypeConverter()
convert
protected abstract T convert(String stringValue,
Target<?> to)
throws Exception
- Throws:
Exception
instantiate
public final T instantiate(Target<?> target,
Parameters parameters)
- Specified by:
instantiate in interface Instantiator<T>
Copyright © 2014. All Rights Reserved.