All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cn.featherfly.conversion.string.basic.StringConvertor Maven / Gradle / Ivy


package cn.featherfly.conversion.string.basic;

import cn.featherfly.common.lang.GenericType;

/**
 * 

* String类转换器 *

* * @author 钟冀 */ public class StringConvertor extends AbstractBasicConvertor>{ /** */ public StringConvertor() { } /** * {@inheritDoc} */ @Override protected String doToString(String value, GenericType genericType) { if (value != null) { return value; } return ""; } /** * {@inheritDoc} */ @Override protected String doToObject(String value, GenericType genericType) { return value; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy