How to read CSV File using Super Csv with CsvBeanReader

You may also like...

1
Leave a Reply

avatar
1 Comment threads
0 Thread replies
0 Followers
 
Most reacted comment
Hottest comment thread
1 Comment authors
Jerry Bakster Recent comment authors
  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 »