|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface ExportUtils.CsvExporter
Provides a simple CSV data exporter, which is basically a set of (optional) headers at the first line followed by a number of comma-separated values.
Method Summary | |
---|---|
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. |
Method Detail |
---|
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |