PolymathicCoder / Yap4j

Yap4j is an annotation-driven POJO-based one-liner CSV parsing library... In other words, it has never been this easy!
http://polymathiccoder.github.com/Yap4j/
Apache License 2.0
2 stars 0 forks source link

Allow specifying the file name in a non-hard-coded way #1

Open nightscape opened 13 years ago

nightscape commented 13 years ago

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

PolymathicCoder commented 13 years ago

Hi Martin,

I will look into that and get back to you regarding this as soon as possible. I am glad you are making use of this and I am more than happy to help :)

Abdel