![JAR search and dependency download from the Maven repository](/logo.png)
cn.featherfly.conversion.string.basic.AbstractBasicConvertor Maven / Gradle / Ivy
package cn.featherfly.conversion.string.basic;
import cn.featherfly.common.bean.BeanProperty;
import cn.featherfly.common.lang.GenericType;
import cn.featherfly.common.lang.reflect.GenericClass;
import cn.featherfly.conversion.string.AbstractToStringConvertor;
/**
*
* 基础类型转换器
*
* @param 转换器对应的转换类型
* @param 转换器对应的转换类型描述信息
* @author 钟冀
*/
public abstract class AbstractBasicConvertor> extends AbstractToStringConvertor {
/**
*/
public AbstractBasicConvertor() {
}
/**
* {@inheritDoc}
*/
@Override
protected boolean supportFor(GenericType generecType) {
return generecType == null
|| GenericClass.class == generecType.getClass()
|| BeanProperty.class == generecType.getClass();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy