public final class ExcelFileExportHelper extends Object
Modifier and Type | Method and Description |
---|---|
static ExcelFileExportHelper |
bind() |
static ExcelFileExportHelper |
bind(IExportDataProcessor processor) |
static ExcelFileExportHelper |
bind(Map<String,Object> data) |
ExcelFileExportHelper |
excludedFieldNames(String[] fieldNames) |
File |
export(Class<?> dataType) |
File |
export(Class<?> dataType,
boolean xssf) |
File |
export(Class<?> dataType,
String charset) |
File |
export(Class<?> dataType,
String charset,
boolean xssf) |
File |
export(String tmplFile) |
ExcelFileExportHelper |
putCustomFieldName(String name,
String customFieldName) |
ExcelFileExportHelper |
putData(String varName,
Object data) |
ExcelFileExportHelper |
putFieldRender(String fieldName,
IExportDataRender render) |
public static ExcelFileExportHelper bind()
public static ExcelFileExportHelper bind(Map<String,Object> data)
public static ExcelFileExportHelper bind(IExportDataProcessor processor)
public ExcelFileExportHelper excludedFieldNames(String[] fieldNames)
public ExcelFileExportHelper putFieldRender(String fieldName, IExportDataRender render)
public ExcelFileExportHelper putCustomFieldName(String name, String customFieldName)
public ExcelFileExportHelper putData(String varName, Object data)
public File export(Class<?> dataType, String charset, boolean xssf) throws Exception
Exception
Copyright © 2022. All rights reserved.