Results 1 to 3 of 3
  1. #1
    kristikris is offline Member
    Join Date
    Mar 2012
    Rep Power

    Default CSV handler/parser included?


    Is there a way to handle CSV files in Java that is already included (i.e. that I wouldn't have to make myself)?
    My TA for this class recommended using CSV files to store the information needed for this assignment, but that isn't the goal of the assignment (in fact it's not being taken into consideration for our grade at all) ... so I don't really want to build a CSV handler if I don't need to.

    Any help is appreciated! Thanks!

  2. #2
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Blog Entries
    Rep Power

    Default Re: CSV handler/parser included?

    There is no CSV file parser or formatter in the core Jave classes (that I know of), and so you'll need to either build your own primitive CSV handler or download a more complete handler the latter which will work better with more complex CSV files, including those with commas nested inside quotes. On the other hand the core classes have many libraries that can handle XML quite well including and especially JAXB.

  3. #3
    pbrockway2 is offline Moderator
    Join Date
    Feb 2009
    New Zealand
    Rep Power

    Default Re: CSV handler/parser included?

    I've used Steven Ostermiller's CSV utilities in the past and they seem to be robust and handle quirks like Microsoft's implementation.

Similar Threads

  1. How import statements are included
    By gpr in forum New To Java
    Replies: 6
    Last Post: 02-25-2011, 12:52 AM
  2. Replies: 1
    Last Post: 12-21-2010, 01:42 AM
  3. JDBC code not included into JAR file??
    By friday in forum Advanced Java
    Replies: 1
    Last Post: 12-17-2010, 07:13 PM
  4. Replies: 0
    Last Post: 10-31-2010, 08:51 AM
  5. Included file throws error.
    By killerf2006 in forum New To Java
    Replies: 3
    Last Post: 08-20-2010, 11:18 AM

Posting Permissions

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