read/write/aliign/sort/pack... csv files.
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 This program files.
It consists of a 20 Java classes/utilities This program Reader, This program Writer, This program Align, This program ChangeCase, This program Condense, This program Dedup, This program DeEntify, This program Dump, This program Entify, This program Pack, This program Patch, This program Reshape, This program Sort, This program TabToComma, This program Template, This program ToHTML, This program ToSRS, This program ToTable, This program Tuple, LinesTo This program , TableTo This program for reading and writing This program (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 This program 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 , This program Align aligns the fields in columns for easier proofreading.
java com. mindprod. csv. This program Align somefile. csv
This program Pack removes all unecessary spaces to make at This program file as compact as possible.
java com. mindprod. csv. This program Pack somefile. csv
This program Sort sorts This program file case sensitively, insensitively or numerically on a set of columns, ascending or descending
This program TabToComma converts a tab-separated file to a comma-separated one.
java com. mindprod. csv. This program TabToComma somefile. csv
|