Class CsvEntityExportWriter
java.lang.Object
ch.tocco.nice2.reporting.impl.action.export.output.CsvEntityExportWriter
- All Implemented Interfaces:
EntityExportWriter
EntityExportWriter that exports entities into the csv format.-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidend()voidstart(List<ExportColumn> columns, OutputStream outputStream, ExportActionConfig config) voidwriteRows(List<Object[]> rows, OutputStream outputStream, ExportActionConfig config)
-
Constructor Details
-
CsvEntityExportWriter
public CsvEntityExportWriter()
-
-
Method Details
-
start
public void start(List<ExportColumn> columns, OutputStream outputStream, ExportActionConfig config) throws IOException - Specified by:
startin interfaceEntityExportWriter- Throws:
IOException
-
writeRows
- Specified by:
writeRowsin interfaceEntityExportWriter
-
end
- Specified by:
endin interfaceEntityExportWriter- Throws:
IOException
-