public final class CSVDump
extends java.lang.Object
Constructor and Description |
---|
CSVDump(java.io.File file,
char separatorChar,
char quoteChar,
java.lang.String commentChars,
java.lang.String encoding)
Dump CSV file.
|
Modifier and Type | Method and Description |
---|---|
static void |
main(java.lang.String[] args)
Simple command line interface to Dump.
|
public CSVDump(java.io.File file, char separatorChar, char quoteChar, java.lang.String commentChars, java.lang.String encoding) throws java.io.IOException
file
- CSV file to be dumpedseparatorChar
- field separator character, usually ',' in North America, ';' in Europe and sometimes '\t' for
tab.quoteChar
- 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'.encoding
- encoding of input and output.java.io.IOException
- if problems reading file