Discussion Locked

Parse CSV Files

0 helpful
4 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I'm attempting to find a class that can parse CSV files while maintaing quoted blocks and ignoring Java's escape characters.

For example:

col1,"col 2", c:\test.txt

Would output 3 fields:

col1
col 2
c:\test.txt

I was working with theCSV class at ostermiller.org, but it drops the slashes in my path names. Any help would be greatly appreciated.

4 replies

This discussion is closed to new replies.