AutoCloseable, Closeable, FlushableICsvBeanWriter, ICsvListWriter, ICsvMapWriter, ICsvResultSetWriterAbstractCsvWriter, CsvBeanWriter, CsvListWriter, CsvMapWriter, CsvResultSetWriterpublic interface ICsvWriter extends Closeable, Flushable
| Modifier and Type | Method | Description |
|---|---|---|
int |
getLineNumber() |
Gets the current position in the file.
|
int |
getRowNumber() |
Gets the current row number (i.e.
|
void |
writeComment(String comment) |
Writes a single-line comment to the CSV file (the comment must already include any special comment characters
e.g.
|
void |
writeHeader(String... header) |
Writes the header of the CSV file.
|
int getLineNumber()
int getRowNumber()
void writeComment(String comment) throws IOException
comment - the commentNullPointerException - if comment is nullIOException - if an I/O error occursvoid writeHeader(String... header) throws IOException
header - one or more header StringsNullPointerException - if header is nullIOException - if an I/O error occursCopyright © 2007–2018 Super CSV. All rights reserved.