public class TypeConverter extends Object
public static TypeConverter me()
public <T> void regist(Class<T> type, IConverter<T> converter)
public final Object convert(Class<?> type, String s) throws ParseException
type - 需要转换成为的数据类型s - 被转换的 String 类型数据,注意: s 参数不接受 null 值,否则会抛出异常ParseExceptionCopyright © 2017. All rights reserved.