csv is a library to parse CSV files. It uses a declarative approach to allow reading CSV files as named typed fields.
csv support thee modes of operation.
Reads the file line-by-line that can then be tokenized as desired.
takes it a step further in that the reader assume that you create a Pojo out of each row.
use a declarative approach to define the fields of the CSV. Based on the declarations the CSV is parsed, including type conversions. The output is a list of records with named and typed fields.
CsvMapReader was inspired of how jOOQ output data using records with named typed fields.
See the junit test for usage examples.
This is an example, not a project under active development. Feel free to report issues or make comments. Do not expect an answer.
- Author: Torbjörn Österdahl (ultra-marine.org)
MIT License