Skip to content
toesterdahlPublic

About

A library to parse CSV files. It uses a declarative approach to allow reading CSV files as named typed fields.

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Um (ultra-marine) xml schema tools

Description:

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.

CsvLineReader

Reads the file line-by-line that can then be tokenized as desired.

CsvPojoReader

takes it a step further in that the reader assume that you create a Pojo out of each row.

CsvMapReader

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.

Usage:

See the junit test for usage examples.

Contributing:

This is an example, not a project under active development. Feel free to report issues or make comments. Do not expect an answer.

Credits:

  • Author: Torbjörn Österdahl (ultra-marine.org)

License:

MIT License

About

A library to parse CSV files. It uses a declarative approach to allow reading CSV files as named typed fields.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages