dfoulkes / jcsv

Automatically exported from code.google.com/p/jcsv
0 stars 0 forks source link

Determine line being parsed #7

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I'm using jcsv to parse a lot of csv files that frequently have small flaws. My 
intent is to use Scala's Either to produce a list of warnings and errors in the 
data while populating an internal table.

Having the line number available (from CSVReader?) would help. (I've hacked it 
together by adding a counter to my CSVEntryParser, but other people will need 
this.)

Thanks,

Dave

Original issue reported on code.google.com by da...@walend.net on 22 Jul 2013 at 7:25