public static interface ExportUtils.CsvExporter
Modifier and Type | Method and Description |
---|---|
void |
addRow(Object... aValues)
Adds a new row with cell values to the CSV output.
|
void |
close()
Closes this exporter.
|
void |
setHeaders(String... aHeaders)
Sets the headers of the CSV file.
|
void addRow(Object... aValues) throws IOException
aValues
- the cell values to write in this row.IOException
- in case of I/O problems.void close() throws IOException
IOException
- in case of I/O problems.void setHeaders(String... aHeaders) throws IOException
aHeaders
- the array of header names.IOException
- in case of I/O problems.Copyright © 2015 L'Xtreme IT consultancy. All rights reserved.