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.
Since: 1.3
Version: $Revision: 1.7 $ $Date: 2004/02/28 13:18:33 $
Method Summary | |
---|---|
Object | convert(Class type, Object value)
Convert the specified input object into an output object of the
specified type.
|
Parameters: type Data type to which this value should be converted value The input value to be converted
Throws: ConversionException if conversion cannot be performed successfully