CSVReader Writer

Java to read, write, align, sort, reshape, pack... comma, tab-separated files.

31 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 31 Java classes/utilities CSVReader, CSVWriter, CSVAlign, CSVChangeCase, CSVCommaToTab, CSVCondense, CSVDeDup, CSVDeDupField, CSVDeEntify, CSVDump, CSVEntify, CSVISBN, CSVPack, CSVPatch, CSVReplaceStrings, CSVReplaceURLs, CSVReshape, CSVScale, CSVSort, CSVSortField, CSVTabToComma, CSVTemplate, CSVToSRS, CSVTSRX , CSVToTable, CSVToUnique, 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.exe -jar csv.jar somefile.csv CSVPack removes all unecessary spaces to make at CSV file as compact as possible. java.exe -jar csv.jar 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.exe -jar csv.jar somefile.csv

Changes: added CSVToSRX for generating Funduc BE search/replace scripts.

Minimum requirements: Java 1.7+

Operating system: Win2000,WinXP,Win7 x32,Win7 x64,Windows 8,WinServer,WinVista,WinVista x64,Unix,Linux,Mac OS X,Java

Program URL: http://mindprod.com/products1.html#CSV

CSVReader Writer screenshot

...

Special permissions

You may include CSVReader/Writer any CD compilation. You may not sell CSVReader/Writer. It is free.

EULA

This program is for non-military use only. For details on what that licencing restriction means and why I restricted this software that way, see http://mindprod.com/contact/nonmil.html If you incorporate any of my code in your programs, they too must be marked for non-military use only. However it is not your responsibility to enforce that restriction.

Read more