|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.reflect.plugins.ValueConvertor
public class ValueConvertor
PropertyEditorHelper.
TODO JBMICROCONT-118 fix the introspection assumption
Constructor Summary | |
---|---|
ValueConvertor()
|
Method Summary | |
---|---|
static Object |
convertValue(Class<? extends Object> clazz,
Object value)
Convert a value |
static Object |
convertValue(Class<? extends Object> clazz,
Object value,
boolean replaceProperties)
Convert a value |
static Object |
convertValue(Class<? extends Object> clazz,
Object value,
boolean replaceProperties,
boolean trim)
Convert a value |
static Object |
progressValue(Class<? extends Object> clazz,
Object value)
Progress a value |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ValueConvertor()
Method Detail |
---|
public static Object convertValue(Class<? extends Object> clazz, Object value) throws Throwable
clazz
- the classvalue
- the value
Throwable
- for any errorpublic static Object convertValue(Class<? extends Object> clazz, Object value, boolean replaceProperties) throws Throwable
clazz
- the classvalue
- the valuereplaceProperties
- whether to replace system properties
Throwable
- for any errorpublic static Object convertValue(Class<? extends Object> clazz, Object value, boolean replaceProperties, boolean trim) throws Throwable
clazz
- the classvalue
- the valuereplaceProperties
- whether to replace system propertiestrim
- whether to trim string value
Throwable
- for any errorpublic static Object progressValue(Class<? extends Object> clazz, Object value) throws Throwable
clazz
- the classvalue
- the value
Throwable
- for any error
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |