input: String line = "hi, \"hello, hanbo\", 30";
output:
token_1:hi
token_2: "hello, hanbo
token_3: 30
CSVParser csvParser = new CSVParser(
CSVParser.DEFAULT_SEPARATOR, CSVParser.DEFAULT_QUOTE_CHARACTER,
CSVParser.DEFAULT_ESCAPE_CHARACTER,
CSVParser.DEFAULT_STRICT_QUOTES,
false);
Input is not good for the patser, but, I think the ouput is alse bad.
Throw Exception, or output is : token_2: hello, hanbo
how to explain it?
thank you @
Nobody/Anonymous
None
None
Public
|
Date: 2011-11-20 22:31:08 PST line 228-244 in file CSVParser.java |
|
Date: 2011-11-18 13:24:59 PST good catch. This is a bug - but not in the way you think it is. |
| Filename | Description | Download |
|---|---|---|
| ParserTest.java | code file | Download |
| Field | Old Value | Date | By |
|---|---|---|---|
| File Added | 428720: ParserTest.java | 2011-11-17 19:55:02 PST | hanbo2854 |