public class ConvertUtilsBean2 extends ConvertUtilsBean
ConvertUtilsBean implementation that delegates convert()
methods to the new ConvertUtilsBean.convert(Object, Class) method.
To configure this implementation for the current context ClassLoader invoke
BeanUtilsBean.setInstance(new BeanUtilsBean2());
BeanUtilsBean2| Constructor and Description |
|---|
ConvertUtilsBean2() |
| Modifier and Type | Method and Description |
|---|---|
String |
convert(Object value)
Delegates to the new
ConvertUtilsBean.convert(Object, Class)
method. |
Object |
convert(String[] value,
Class<?> clazz)
Delegates to the new
ConvertUtilsBean.convert(Object, Class)
method. |
Object |
convert(String value,
Class<?> clazz)
Delegates to the new
ConvertUtilsBean.convert(Object, Class)
method. |
convert, deregister, deregister, getDefaultBoolean, getDefaultByte, getDefaultCharacter, getDefaultDouble, getDefaultFloat, getDefaultInteger, getDefaultLong, getDefaultShort, getInstance, lookup, lookup, register, register, setDefaultBoolean, setDefaultByte, setDefaultCharacter, setDefaultDouble, setDefaultFloat, setDefaultInteger, setDefaultLong, setDefaultShortpublic String convert(Object value)
ConvertUtilsBean.convert(Object, Class)
method.convert in class ConvertUtilsBeanvalue - Value to be converted (may be null)ConvertUtilsBean.convert(String[], Class)public Object convert(String value, Class<?> clazz)
ConvertUtilsBean.convert(Object, Class)
method.convert in class ConvertUtilsBeanvalue - Value to be converted (may be null)clazz - Java class to be converted to (must not be null)ConvertUtilsBean.convert(String[], Class)public Object convert(String[] value, Class<?> clazz)
ConvertUtilsBean.convert(Object, Class)
method.convert in class ConvertUtilsBeanvalue - Array of values to be convertedclazz - Java array or element class to be converted to (must not be null)ConvertUtilsBean.convert(String[], Class)Copyright © 2000–2019 The Apache Software Foundation. All rights reserved.