I came across the supercsv library and it seems like a very good piece of work. However I have a question that I wasn't able to answer with the documentation provided in their website, wondering if anyone here can help.
Basically I have a csv file that has a column that only appears when another column is set to a specific value. So an example would be the following:
IsBirthDate,BirthDate
Yes,11/05/1985
No
Yes,12/01/1999
No
No
You see what I mean. Is there a way to create a cellprocessor that can take this dependency into account and throw an exception when a row like this is found:
No,12/09/1968
Cheers
Seems like this has already been answered on the Super CSV forums: http://sourceforge.net/p/supercsv/feature-requests/25/#30a5
Copying the post in case link goes down: