Java writer to write the CSV data to.
Optionally specify CSV separator to use.
This method can be used to force final line feed to CSV file that some programs might expect.
This method can be used to force final line feed to CSV file that some programs might expect.
If emitted between cells keyed to successive rows, this has no effect.
Java writer to write the CSV data to.
Optionally specify CSV separator to use.
Shortcut to call write for each cell in a traversable.
Shortcut to call write for each cell in a traversable.
The cells are expected to be in CellKey order.
sequence of cells to be written.
Write a single cell to output stream.
Opposite of CsvReader. The API is simple. There are just 3 public methods. One to write a single cell and another to write a TraversableOnce of cells.
The third method
goToNextRow
should be called last after the last cell to write the line feed at the end of the file.The cells are expected to be in top to bottom left to right order. The sequence of cells can contain holes. Empty cells in CSV data will be emitted for those.
This class handles quoting, but all other special processing is handled by fi.pelam.csv.cell.Cell.serializedString implementations.
This class does not flush or close the output stream. Client must take care of that.