public interface ConversionHandler
DataConversion
Modifier and Type | Method and Description |
---|---|
boolean |
canConvertFrom(java.lang.Class cls)
This method is used to indicate to the runtime whehter or not the handler knows how to convert
from the specified type.
|
java.lang.Object |
convertFrom(java.lang.Object in)
Converts the passed argument to the type represented by the handler.
|
java.lang.Object convertFrom(java.lang.Object in)
in
- - the input typeboolean canConvertFrom(java.lang.Class cls)
cls
- - the source typeCopyright © 2012. All Rights Reserved.