public class DateConvertor extends AbstractBasicConvertor<java.util.Date,cn.featherfly.common.lang.GenericType<java.util.Date>>
class类转换器
logger| 构造器和说明 |
|---|
DateConvertor() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected java.util.Date |
doToObject(java.lang.String value,
cn.featherfly.common.lang.GenericType<java.util.Date> genericType)
字符串转换为对象
|
protected java.lang.String |
doToString(java.util.Date value,
cn.featherfly.common.lang.GenericType<java.util.Date> genericType)
对象转换为字符串
|
java.lang.Class<java.util.Date> |
getType()
返回转换器对应的类型
|
supportForgetGenricType, toObject, toStringpublic java.lang.Class<java.util.Date> getType()
返回转换器对应的类型
getType 在接口中 Convertor<java.util.Date>getType 在类中 AbstractConvertor<java.util.Date,cn.featherfly.common.lang.GenericType<java.util.Date>>protected java.lang.String doToString(java.util.Date value,
cn.featherfly.common.lang.GenericType<java.util.Date> genericType)
对象转换为字符串
doToString 在类中 AbstractConvertor<java.util.Date,cn.featherfly.common.lang.GenericType<java.util.Date>>value - 对象genericType - 指定对象的上下文属性protected java.util.Date doToObject(java.lang.String value,
cn.featherfly.common.lang.GenericType<java.util.Date> genericType)
字符串转换为对象
doToObject 在类中 AbstractConvertor<java.util.Date,cn.featherfly.common.lang.GenericType<java.util.Date>>value - 字符串genericType - 指定对象的上下文属性