Java classes you can use standalone or embed in your own programs to
Read, write, align and pack comma, tab and semicolon-
separated variable files, commonly known as CSV files.
It consists of a four Java classes CSVReader CSVWriter,
CSVAlign and CSVPack for reading and writing CSV (Comma
Separated Value) formatted files. Also handles
tab-separated and semicolon-separated files. This is the
format use by Microsoft Word and other Microsoft products.
This version does not support # embedded comments.
Note that CSV files are perhaps 10 times slower to process
than binary files. They are for data interchange with other
languages or when human-readibility or editability is
important. If you want speed, use binary format files, e.g.
DataInputStream or possibly the convenient but slower
ObjectInputStream.
CSVAlign aligns the fields in columns for easier
proofreading.
java com.mindprod.csv.CSVAlign somefile.csv
CSVTab2Comma converts a tab-separated file to a
comma-separated one.
java com.mindprod.csv.CSVTab2Comma somefile.csv
CSVPack removes all unecessary spaces to make
at CSV file as Compact as possible.
java com.mindprod.csv.CSVPack somefile.csv