Example usage for Java org.apache.commons.beanutils ConvertUtilsBean fields, constructors, methods, implement or subclass
The text is from its open source code.
ConvertUtilsBean() Construct a bean with standard converters registered |
Object | convert(String value, Class clazz) Convert the specified value to an object of the specified class (if possible). |
Object | convert(String values[], Class clazz) Convert an array of specified values to an array of objects of the specified class (if possible). |
String | convert(Object value) Convert the specified value into a String. |
void | deregister(Class clazz) Remove any registered Converter for the specified destination Class . |
void | register(Class clazz, Converter converter) strictly for convenience since it has same parameter order as Map.put |
void | register(Converter converter, Class clazz) Register a custom Converter for the specified destination Class , replacing any previously registered Converter. |