Using CsvBeanReader to read a CSV file with a variable number of columns

前端 未结 3 1042
甜味超标
甜味超标 2020-12-04 01:55

So I\'m working on parsing a .csv file. I took the advice of another thread somewhere on StackOverflow and downloaded SuperCSV. I finally got pretty much everything working,

3条回答
  •  渐次进展
    2020-12-04 02:06

    Well, SuperCSV is Open Source. If you want to add functionality, such as handling input with a variable number of trailing fields, you have basically two options:

    1. Post a support request on the SourceForge site and hope the author agrees and has time to do it
    2. Download the source, change it to your liking, and contribute the changes to the project.

    This is how Open Source works.

提交回复
热议问题