public interface ExcelWriterResolver
| 限定符和类型 | 方法和说明 |
|---|---|
void |
flush(javax.servlet.http.HttpServletResponse response,
String fileName)
Output the contents of the cache
|
void |
write(List<?> data,
org.apache.poi.ss.usermodel.Workbook workbook,
String sheetName,
List<Field> headFieldList,
MetaObject metaObject,
boolean changed)
Write excel
|
void write(List<?> data, org.apache.poi.ss.usermodel.Workbook workbook, String sheetName, List<Field> headFieldList, MetaObject metaObject, boolean changed)
headFieldList - Fields in Excel mapped entity that map to list headerssheetName - sheet nameworkbook - workbookdata - datametaObject - Excel meta objectchanged - Is changed excel entity or sheet?void flush(javax.servlet.http.HttpServletResponse response,
String fileName)
fileName - file nameresponse - responseCopyright © 2020. All rights reserved.