Results 1 to 3 of 3
Thread: Export array to .csv file
- 05-02-2010, 08:19 PM #1
Member
- Join Date
- May 2010
- Posts
- 1
- Rep Power
- 0
Export array to .csv file
Hello all,
really really simple question.
I have an array of doubles (size = ~1000), and I want to export it into an excel file just to make some graphs.
So how would I just put it all into a row of excel? I've heard that writing to a .csv file would easily accomplish this. I've never written to a file using Java, so any physical code that you could provide would be very helpful.
- 05-02-2010, 08:27 PM #2
Senior Member
- Join Date
- Jul 2009
- Posts
- 1,143
- Rep Power
- 5
Well, what text book are you using? I'm sure it has examples of I/O.I've never written to a file using Java,
If you don't have a text book, then its time to read tutorials. The Java tutorials will get you started. The "Essential Java Classes" covers I/O. And there are also plenty of examples on the forum. Once you determine which class and method you need to use you can search for examples.
- 05-04-2010, 04:58 AM #3
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
Lesson: Basic I/O (The Java™ Tutorials > Essential Classes)
The above link explain all about the I/O operations in Java. And also please search on the forum lol, you can find lots of related stuff.
Similar Threads
-
export eps
By mr_empty in forum Java 2DReplies: 0Last Post: 04-25-2010, 08:40 AM -
Unable to export chinese character in excel use ExcelCSVPrinter file open inline brow
By Thendral in forum Advanced JavaReplies: 4Last Post: 02-01-2010, 11:13 AM -
Export an array to a text file
By carderne in forum New To JavaReplies: 32Last Post: 10-02-2008, 03:52 PM -
How do i export data from an oracle database to a CSV file
By BharathL in forum JDBCReplies: 3Last Post: 08-05-2008, 03:19 AM -
problem with the way to export data to CSV file
By gonne in forum Java ServletReplies: 0Last Post: 07-01-2007, 02:43 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks