cn.featherfly.conversion.string.bp.BeanPropertyConvertor Maven / Gradle / Ivy
package cn.featherfly.conversion.string.bp;
import cn.featherfly.common.bean.BeanProperty;
import cn.featherfly.common.lang.GenericType;
import cn.featherfly.conversion.string.AbstractToStringConvertor;
/**
*
* 格式化转换器
*
* @param 转换对象泛型
* @author 钟冀
*/
public abstract class BeanPropertyConvertor extends AbstractToStringConvertor>{
/**
*/
public BeanPropertyConvertor() {
}
/**
* {@inheritDoc}
*/
@Override
protected boolean supportFor(GenericType generecType) {
if (generecType == null) {
return false;
}
return BeanProperty.class == generecType.getClass();
}
}