public interface ICsvWriter
extends java.io.Closeable, java.io.Flushable
Modifier and Type | Method and Description |
---|---|
int |
getLineNumber()
Gets the current position in the file.
|
int |
getRowNumber()
Gets the current row number (i.e.
|
void |
writeComment(java.lang.String comment)
Writes a single-line comment to the CSV file (the comment must already include any special comment characters
e.g.
|
void |
writeHeader(java.lang.String... header)
Writes the header of the CSV file.
|
int getLineNumber()
int getRowNumber()
void writeComment(java.lang.String comment) throws java.io.IOException
comment
- the commentjava.lang.NullPointerException
- if comment is nulljava.io.IOException
- if an I/O error occursvoid writeHeader(java.lang.String... header) throws java.io.IOException
header
- one or more header Stringsjava.lang.NullPointerException
- if header is nulljava.io.IOException
- if an I/O error occursCopyright © 2007-2014 Super CSV. All Rights Reserved.