42BV / CSVeed

Light-weight, easy-to-use Java-based CSV utility
Apache License 2.0
100 stars 22 forks source link

Better access to underlying raw data when reading CSV files #51

Open j256 opened 9 years ago

j256 commented 9 years ago

Howdy. Thanks again for the library.

When processing CSV files, I'd like to get access to the underlying data when an exception is thrown. Something like public Row BeanReaderImpl.getLastRow() would be great. Right now I am forced to basically re-implement the BeanReaderImpl class and drive the RowReaderImpl and mappers myself.

Right now I only see this information available in the Exception. Am I missing a feature?

Thanks.

j256 commented 9 years ago

Oh I see. I can interrogate the exception and extract a RowReport. I think it would still be good to have a getLastRow type method accessible.