public class CharacterConverter extends AbstractConverter
Character
to other types and vice versa.Constructor and Description |
---|
CharacterConverter() |
Modifier and Type | Method and Description |
---|---|
Class<?>[] |
getTypes()
Returns types handled by the converter.
|
protected <T> T |
internalConvertToType(Class<T> type,
Object value)
Handles conversion to an handled type.
|
Object |
typeConversion(Class<?> type,
Object o)
Overridden to handle primitive default values.
|
convertArrayToString, convertArrayToType, convertCollectionToString, convertCollectionToType, convertionException, convertionException, convertToString, convertToType, internalConvertToString, stringConversion, toString
public Object typeConversion(Class<?> type, Object o) throws UtilsException
typeConversion
in interface IConverter
typeConversion
in class AbstractConverter
UtilsException
protected <T> T internalConvertToType(Class<T> type, Object value) throws UtilsException
AbstractConverter
internalConvertToType
in class AbstractConverter
UtilsException
public Class<?>[] getTypes()
IConverter