public static String convertToString(Object data) {
Class clazz = data.getClass();
BaseConverter converter = stdConverters.get(clazz);
if(converter == null)
throw new IllegalArgumentException("Type clazz="+clazz+" is not supported at this time");
return converter.convertToString(data);
}
public static Object convertFromString(Class<?> clazz, String data) {
if(data == null)
return null;