public class ByteCH extends Object implements ConversionHandler
Constructor and Description |
---|
ByteCH() |
Modifier and Type | Method and Description |
---|---|
boolean |
canConvertFrom(Class cls)
This method is used to indicate to the runtime whehter or not the handler knows how to convert
from the specified type.
|
Object |
convertFrom(Object in)
Converts the passed argument to the type represented by the handler.
|
public Object convertFrom(Object in)
ConversionHandler
convertFrom
in interface ConversionHandler
in
- - the input typepublic boolean canConvertFrom(Class cls)
ConversionHandler
canConvertFrom
in interface ConversionHandler
cls
- - the source typeCopyright © 2018. All rights reserved.