we were looking for a CSV decoder that allows mapping of CSV files to beans without using position information (best would be matching CSV headers to bean field names via reflection).
Your library looks quite good, the only unfortunate thing is, that the CsvParserFactory.createParser method expects the CSV file name to be hard-coded into the @CsvFile annotation. Would it be possible to allow another way to instantiate a parser where the file name can be given as argument?
Hi Abdelmonaim,
we were looking for a CSV decoder that allows mapping of CSV files to beans without using position information (best would be matching CSV headers to bean field names via reflection). Your library looks quite good, the only unfortunate thing is, that the
CsvParserFactory.createParser
method expects the CSV file name to be hard-coded into the@CsvFile
annotation. Would it be possible to allow another way to instantiate a parser where the file name can be given as argument?Best regards Martin