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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
end()
void
start
(List<ExportColumn> columns, OutputStream outputStream, ExportActionConfig config) void
writeRows
(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:
start
in interfaceEntityExportWriter
- Throws:
IOException
-
writeRows
- Specified by:
writeRows
in interfaceEntityExportWriter
-
end
- Specified by:
end
in interfaceEntityExportWriter
- Throws:
IOException
-