public interface ITypeConverter
Modifier and Type | Method and Description |
---|---|
boolean |
canConvertFrom(Class<?> sourceType)
Returns whether this converter can convert an object of the given type to the type of this converter.
|
String |
convertFrom(String tag,
Object value,
boolean allowNull)
Converts the given object to the type of this converter.
|
Object |
convertTo(String value)
Converts the given value object to the specified type, using the specified context and culture information.
|
boolean canConvertFrom(Class<?> sourceType)
sourceType
- String convertFrom(String tag, Object value, boolean allowNull)
tag
- value
- allowNull
- Copyright © 2016. All Rights Reserved.