csvwriter library

Classes

CsvWriter
CsvWriter wraps around a StringSink and enables writing data in CSV format. The CsvWriter maintains an internal structure for the current data record. Individual values can be set or read via accessors or via the get and set methods, accessed by header label (provided the CsvWriter was created with CsvWriter.withHeaders) and/or index. The data is written to the underlying sink record per record.

Exceptions / Errors

InvalidHeaderException
InvalidHeaderException thrown when the CSV column cannot be found.