|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.commons.beanutils.ConvertUtilsBean org.apache.commons.beanutils.ConvertUtilsBean2
public class ConvertUtilsBean2
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 Summary | |
---|---|
ConvertUtilsBean2()
|
Method Summary | |
---|---|
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. |
Methods inherited from class org.apache.commons.beanutils.ConvertUtilsBean |
---|
convert, deregister, deregister, getDefaultBoolean, getDefaultByte, getDefaultCharacter, getDefaultDouble, getDefaultFloat, getDefaultInteger, getDefaultLong, getDefaultShort, getInstance, lookup, lookup, register, register, setDefaultBoolean, setDefaultByte, setDefaultCharacter, setDefaultDouble, setDefaultFloat, setDefaultInteger, setDefaultLong, setDefaultShort |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConvertUtilsBean2()
Method Detail |
---|
public String convert(Object value)
ConvertUtilsBean.convert(Object, Class)
method.
convert
in class ConvertUtilsBean
value
- 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 ConvertUtilsBean
value
- Value to be converted (may be null)clazz
- Java class to be converted to
ConvertUtilsBean.convert(String[], Class)
public Object convert(String[] value, Class clazz)
ConvertUtilsBean.convert(Object, Class)
method.
convert
in class ConvertUtilsBean
value
- Array of values to be convertedclazz
- Java array or element class to be converted to
ConvertUtilsBean.convert(String[], Class)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |