Class POISSExporter
java.lang.Object
ch.tocco.nice2.reporting.impl.action.export.output.POISSExporter
- All Implemented Interfaces:
EntityExportWriter
- Direct Known Subclasses:
XSSFExporter
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract org.apache.poi.ss.usermodel.Workbook
void
end()
void
start
(List<ExportColumn> columns, OutputStream outputStream, ExportActionConfig config) void
writeRows
(List<Object[]> rows, OutputStream outputStream, ExportActionConfig config)
-
Constructor Details
-
POISSExporter
public POISSExporter()
-
-
Method Details
-
start
public void start(List<ExportColumn> columns, OutputStream outputStream, ExportActionConfig config) throws IOException - Specified by:
start
in interfaceEntityExportWriter
- Throws:
IOException
-
writeRows
public void writeRows(List<Object[]> rows, OutputStream outputStream, ExportActionConfig config) throws IOException - Specified by:
writeRows
in interfaceEntityExportWriter
- Throws:
IOException
-
end
- Specified by:
end
in interfaceEntityExportWriter
- Throws:
IOException
-
createWorkbook
protected abstract org.apache.poi.ss.usermodel.Workbook createWorkbook()
-