com.bing.common.ExcleBuilder Maven / Gradle / Ivy
package com.bing.common;
import com.bing.excel.converter.FieldValueConverter;
import com.bing.excel.core.BingExcel;
/**
* @author shizhongtao
*
* Description:
*/
public interface ExcleBuilder {
ExcleBuilder addFieldConversionMapper(Class> clazz,
String filedName, int index);
ExcleBuilder addFieldConversionMapper(Class> clazz,
String filedName, int index, String alias);
ExcleBuilder addFieldConversionMapper(Class> clazz,
String filedName, int index, String alias, FieldValueConverter converter);
ExcleBuilder addClassNameAlias(Class> clazz,
String alias);
/**
* 由build()方法代替
* @return
*/
@Deprecated
T builder();
T build();
ExcleBuilder registerFieldConverter(Class> clazz,
FieldValueConverter converter);
}