|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.mindprod.csv.CSV2SRS
public final class CSV2SRS
Converts a 2-column CSV file to a guts of a Funduc Search Replace SRS Script.
Use: java.exe com.mindprod.CSV2SRS pairs.csv
Constructor Summary | |
---|---|
CSV2SRS(java.io.File file,
char separatorChar,
char quoteChar,
java.lang.String commentChars)
Constructor also does work of converting |
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 CSV2SRS(java.io.File file, char separatorChar, char quoteChar, java.lang.String commentChars) throws java.io.IOException
file
- CSV file to be packed to remove excess space and quotes.separatorChar
- field separator character, usually ',' in North America, ';' in Europe and sometimes '\t' for
tab for the output file. It is tab for the input file.
Note this is a 'char' not a "string".quoteChar
- character used to quote fields containing awkward chars.commentChars
-
java.io.IOException
- if problems reading/writing 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 |