T
- conversion's target typepublic interface TypeConverter<T>
Modifier and Type | Method and Description |
---|---|
T |
fromObj(java.lang.Object obj)
Attempts to convert any value to the target type
|
java.lang.Class<T> |
getCls()
A conversion's target class
|
java.lang.Class<T> getCls()
T fromObj(java.lang.Object obj) throws ConversionException
ConversionException
- when conversion to desired type is not possible