public class ExcelBatchExportService extends ExcelExportService
excelExportStyler, typedataHandler, dictHandler, LOGGER, needHandlerList| Constructor and Description |
|---|
ExcelBatchExportService() |
createHeaderAndTitle, createSheet, createSheetForMap, createTitle2RowaddStatisticsRow, createCells, createDoubleCell, createImageCell, createImageCell, createListCells, createStringCell, getExcelExportStyler, getImageType, getStyles, mergeCells, setCellWith, setColumnHidden, setCurrentIndex, setExcelExportStylergetAllExcelField, getCellValue, getFieldBySomeMethod, getFieldLength, getListCellValue, getRowHeight, getRowNums, indexExcelEntity, sortAllParamspublic void init(ExportParams entity, Class<?> pojoClass)
public void init(ExportParams entity, List<ExcelExportEntity> excelParams)
public List<ExcelExportEntity> createExcelExportEntityList(ExportParams entity, Class<?> pojoClass)
public void createSheet(org.apache.poi.ss.usermodel.Workbook workbook,
ExportParams entity,
List<ExcelExportEntity> excelParams)
public org.apache.poi.ss.usermodel.Workbook appendData(Collection<?> dataSet)
protected void insertDataToSheet(org.apache.poi.ss.usermodel.Workbook workbook,
ExportParams entity,
List<ExcelExportEntity> entityList,
Collection<?> dataSet,
org.apache.poi.ss.usermodel.Sheet sheet)
insertDataToSheet in class ExcelExportServicepublic static ExcelBatchExportService getExcelBatchExportService(ExportParams entity, Class<?> pojoClass)
public static ExcelBatchExportService getExcelBatchExportService(ExportParams entity, List<ExcelExportEntity> excelParams)
public static ExcelBatchExportService getCurrentExcelBatchExportService()
public void closeExportBigExcel()
Copyright © 2018 Lumer. All rights reserved.