org.apache.commons.beanutils
public interface Converter
General purpose data type converter that can be registered and used within the BeanUtils package to manage the conversion of objects from one type to another.
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
convert(java.lang.Class type,
java.lang.Object value)
Convert the specified input object into an output object of the
specified type.
|
java.lang.Object convert(java.lang.Class type,
java.lang.Object value)
type - Data type to which this value should be convertedvalue - The input value to be convertedConversionException - if conversion cannot be performed
successfullyCopyright (c) 2001-2004 - Apache Software Foundation