com.bing.excel.core.handler.ConverterHandler Maven / Gradle / Ivy
package com.bing.excel.core.handler;
import com.bing.excel.converter.FieldValueConverter;
/**
* @author shizhongtao
*
* date 2015-12-14 PM 4:44:52
* Description:
*/
public interface ConverterHandler {
/**
* Get default FieldConverter which is difined by BaseGlobalConverterMapper
or user.
* @param keyFieldType
* @return defaultConvetter or null
*/
FieldValueConverter getLocalConverter(Class> keyFieldType);
/**
* Registe converter for this {@code Class} clazz.
* @param clazz
* @param converter
*/
void registerConverter(Class> clazz, FieldValueConverter converter);
}