File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

looking for a good CSV generator and reader

 
Doua Beri
Ranch Hand
Posts: 60
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi. I found on the net several CSV readers and generators but I want to ask you before I start using one in my application, what is the best to use.
I'm looking for answers from the ones who actually used one in thei applications.

Thank you
 
Rob Spoor
Sheriff
Pie
Posts: 20380
45
Chrome Eclipse IDE Java Windows
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Accessing File Formats, the Excel section. I myself have used opencsv quite a few times, and it's really easy to work with.
 
Doua Beri
Ranch Hand
Posts: 60
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Rob Prime wrote:Accessing File Formats, the Excel section. I myself have used opencsv quite a few times, and it's really easy to work with.


thankx for your answer and for the link. I saw a few examples and it's very easy. Did you tested in reading large csv files( 100MB+) ??
 
Rob Spoor
Sheriff
Pie
Posts: 20380
45
Chrome Eclipse IDE Java Windows
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not really, but it reads each line one at a time like a BufferedReader does. As such, only one line (as a String[]) should be in memory at a time.

Unless you're using the readAll method of course, but that should be obvious.
 
Ludovik Lax
Greenhorn
Posts: 17
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
have a look at POI http://poi.apache.org, it's a good performance spreadsheet writer,
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic