|
From: Emil G <ev...@ho...> - 2003-03-12 08:28:31
|
Hi all,
thanks for excelent implementation, which I find very usefull. Althought =
I have one problem: When in CSV there is a field in which value exists a =
new line separator, in reading of it this separators are ommited:
line1
line2
line3
is readed as line1line2line3
I think that this is not so usefull. There is a need of very minor patch =
of CvsReader.java:
in method protected String[] parseCsvLine(String line) throws =
SQLException, at line 292, this:
// Remove extra , added at start
value =3D value.substring(0,value.length()-1);
can be substituted by this:
// Remove extra , added at start
value =3D value.substring(0,value.length()-1)+"\n";
Which solves the problem.
Please if you consider this usefull - do a patch to CVS.
Best regards
Emil Genov
|