CSV

CSV
  
            License: Freeware $0.00
            OS: Java,Linux,Mac OS X,Unix,Win2000,Win7 x32,Win7 x64,WinServer,WinVista,WinVista x
            Requirements: java 1.5+
            Publisher: Canadian Mind Products
            Homepage: http://mindprod.com
          

java classes you can use standalone or embed in your own programs to
read, write, align, sort and pack comma, tab and semicolon-
separated variable files, commonly known as csv files.

it consists of a 23 java classes/utilities csvreader, csvwriter, csvalign, csvchangecase, csvcondense, csvdedup, csvdedupfield, csvdeentify, csvdump, csventify, csvpack, csvpatch, csvreshape, csvsort, csvsortfield, csvtabtocomma, csvtemplate, csvtohtml, csvtosrs, csvtotable, csvtuple, linestocsv, tabletocsv 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 now supports # embedded comments.

you can configure the separator, quote and comment characters.

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.

for example, csvalign aligns the fields in columns for easier proofreading.

java com.mindprod.csv.csvalign somefile.csv

csvpack removes all unecessary spaces to make at csv file as compact as possible.

java com.mindprod.csv.csvpack somefile.csv

csvsort sorts csv file case sensitively, insensitively or numerically on a set of columns, ascending or descending

csvtabtocomma converts a tab-separated file to a comma-separated one.

java com.mindprod.csv.csvtabtocomma somefile.csv


Share this post