|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.mindprod.csv.CSVDump
public final class CSVDump
display a csv file with fields separated with |.
Use: java.exe com.mindprod.CSVDump somefile.csv
Constructor Summary | |
---|---|
CSVDump(java.io.File file,
char separator,
char quote,
java.lang.String commentChars)
Dump CSV file. |
Method Summary | |
---|---|
static void |
main(java.lang.String[] args)
Simple command line interface to CSVPack. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CSVDump(java.io.File file, char separator, char quote, java.lang.String commentChars) throws java.io.IOException
file
- CSV file to be dumpedseparator
- field separator character, usually ',' in North America, ';' in Europe and sometimes '\t' for
tab.quote
- char to use to enclose fields containing a separator, usually '\"'. Use (char)0 if
you don't want a quote character.commentChars
- characters that mark the start of a comment, usually "#", but can be multiple chars.
Note this is a "string" not a 'char'.
java.io.IOException
- if problems reading fileMethod Detail |
---|
public static void main(java.lang.String[] args)
args
- name of csv file to remove excess quotes and space
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |