How to read CSV File using Super Csv with CsvBeanReader

You may also like...

Subscribe
Notify of
guest
1 Comment
Oldest
Newest
Inline Feedbacks
View all comments
Jerry Bakster
Jerry Bakster
May 17, 2015 15:47

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 »

1
0
Would love your thoughts, please comment.x
()
x