CSV API for Java
csv, java
Solution
Apache Commons CSV
Check out Apache Common CSV.
This library reads and writes several variations of CSV, including the standard one RFC 4180. Also reads/writes Tab-delimited files.
- Excel
- InformixUnload
- InformixUnloadCsv
- MySQL
- Oracle
- PostgreSQLCsv
- PostgreSQLText
- RFC4180
- TDF
Problem
Can anyone recommend a simple API that will allow me to use read a CSV input file, do some simple transformations, and then write it. A quick google has found http://flatpack.sourceforge.net/ which looks promising. I just wanted to check what others are using before I couple myself to this API.