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