/** * Convert a value * <p/> * * @param clazz the class * @param value the value * @return the value or null if there is no editor * @throws Throwable for any error */ public static Object convertValue(Class<? extends Object> clazz, Object value) throws Throwable { return convertValue(clazz, value, false); }
public Object convertValue(Object value) throws Throwable { Object progressResult = ValueConvertor.progressValue(type, value); if (progressResult != null) { return progressResult; } return ValueConvertor.convertValue(type, value); }
/** * Convert a value * <p/> * * @param clazz the class * @param value the value * @return the value or null if there is no editor * @throws Throwable for any error */ public static Object convertValue(Class<? extends Object> clazz, Object value) throws Throwable { return convertValue(clazz, value, false); }
public Object convertValue(Object value, boolean replaceProperties) throws Throwable { Object progressResult = ValueConvertor.progressValue(type, value); if (progressResult != null) { return progressResult; } return ValueConvertor.convertValue(type, value, replaceProperties); }
/** * Convert a value * * @param clazz the class * @param value the value * @param replaceProperties whether to replace system properties * @return the value or null if there is no editor * @throws Throwable for any error */ public static Object convertValue(Class<? extends Object> clazz, Object value, boolean replaceProperties) throws Throwable { return convertValue(clazz, value, replaceProperties, false); }
public Object convertValue(Object value, boolean replaceProperties, boolean trim) throws Throwable { Object progressResult = ValueConvertor.progressValue(type, value); if (progressResult != null) { return progressResult; } return ValueConvertor.convertValue(type, value, replaceProperties, trim); }
/** * Convert a value * * @param clazz the class * @param value the value * @param replaceProperties whether to replace system properties * @return the value or null if there is no editor * @throws Throwable for any error */ @SuppressWarnings("unchecked") public static Object convertValue(Class<? extends Object> clazz, Object value, boolean replaceProperties) throws Throwable { return convertValue(clazz, value, replaceProperties, false); }
public Object convertValue(Object value, boolean replaceProperties) throws Throwable { Object progressResult = ValueConvertor.progressValue(type, value); if (progressResult != null) { return progressResult; } return ValueConvertor.convertValue(type, value, replaceProperties); }
public Object convertValue(Object value) throws Throwable { return ValueConvertor.convertValue(getType(), value); }
public Object convertValue(Object value, boolean replaceProperties, boolean trim) throws Throwable { Object progressResult = ValueConvertor.progressValue(type, value); if (progressResult != null) { return progressResult; } return ValueConvertor.convertValue(type, value, replaceProperties, trim); }
public Object convertValue(Object value, boolean replaceProperties, boolean trim) throws Throwable { return ValueConvertor.convertValue(getType(), value, replaceProperties, trim); }
public Object convertValue(Object value) throws Throwable { Object progressResult = ValueConvertor.progressValue(type, value); if (progressResult != null) { return progressResult; } return ValueConvertor.convertValue(type, value); }
public Object convertValue(Object value, boolean replaceProperties, boolean trim) throws Throwable { return ValueConvertor.convertValue(getType(), value, replaceProperties, trim); }
public Object convertValue(Object value, boolean replaceProperties, boolean trim) throws Throwable { return ValueConvertor.convertValue(getType(), value, replaceProperties, trim); }
public Object convertValue(Object value, boolean replaceProperties) throws Throwable { return ValueConvertor.convertValue(getType(), value, replaceProperties); }
public Object convertValue(Object value, boolean replaceProperties) throws Throwable { return ValueConvertor.convertValue(getType(), value, replaceProperties); }
public Object convertValue(Object value, boolean replaceProperties, boolean trim) throws Throwable { return ValueConvertor.convertValue(getType(), value, replaceProperties, trim); }
public Object convertValue(Object value) throws Throwable { return ValueConvertor.convertValue(getType(), value); }
public Object convertValue(Object value) throws Throwable { return ValueConvertor.convertValue(getType(), value); }
public Object convertValue(Object value, boolean replaceProperties) throws Throwable { return ValueConvertor.convertValue(getType(), value, replaceProperties); }