How to read CSV File using Super Csv with CsvBeanReader

You may also like...

Leave a Reply

1 Comment on "How to read CSV File using Super Csv with CsvBeanReader"

avatar
  Subscribe  
newest oldest
Notify of
Jerry Bakster
Guest
Jerry Bakster
Thanks for the article, and I’m sharing one more open-source library uniVocity-parsers (http://www.univocity.com/pages/parsers-tutorial) for parsing CSV data. In my project, I found it powerful and flexiable, especially when parsing big CSV data (such as 1GB+). The library provides simplified API, and full capabilities in parsing CSV file, such as quote espacing, headers extraction, column selection, mapping to Java Beans and so on. Here is a code snippt for using this library: public static void main(String[] args) throws FileNotFoundException { /** * ————————————— * Read CSV rows into 2-dimensional array * ————————————— */ // 1st, config the CSV reader, such as… Read more »