Results 1 to 3 of 3
  1. #1
    ahwillia is offline Member
    Join Date
    May 2010
    Rep Power

    Default 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.

  2. #2
    camickr is offline Senior Member
    Join Date
    Jul 2009
    Rep Power


    I've never written to a file using Java,
    Well, what text book are you using? I'm sure it has examples of I/O.

    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.

  3. #3
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Colombo, Sri Lanka
    Blog Entries
    Rep Power

Similar Threads

  1. export eps
    By mr_empty in forum Java 2D
    Replies: 0
    Last Post: 04-25-2010, 08:40 AM
  2. Replies: 4
    Last Post: 02-01-2010, 11:13 AM
  3. Export an array to a text file
    By carderne in forum New To Java
    Replies: 32
    Last Post: 10-02-2008, 03:52 PM
  4. Replies: 3
    Last Post: 08-05-2008, 03:19 AM
  5. problem with the way to export data to CSV file
    By gonne in forum Java Servlet
    Replies: 0
    Last Post: 07-01-2007, 02:43 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts