Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 72936 invoked from network); 17 Sep 2004 15:35:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 17 Sep 2004 15:35:29 -0000 Received: (qmail 79923 invoked by uid 500); 17 Sep 2004 15:35:12 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 79871 invoked by uid 500); 17 Sep 2004 15:35:12 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 79828 invoked by uid 99); 17 Sep 2004 15:35:11 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [12.106.6.15] (HELO ns.decisionsys.com) (12.106.6.15) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 17 Sep 2004 08:35:05 -0700 Received: from ollie.decisionsys.com (A-005.decisionsys.com [192.245.92.5]) by ns.decisionsys.com (AIX4.3/8.9.3/8.9.3) with ESMTP id KAA19766; Fri, 17 Sep 2004 10:23:48 -0500 Received: from clavin.decisionsys.com (clavin.decisionsys.com [10.20.50.20]) by ollie.decisionsys.com (AIX4.3/UCB 8.8.8/2.4) with ESMTP id KAA81778; Fri, 17 Sep 2004 10:30:23 -0500 Received: by clavin.decisionsys.com with Internet Mail Service (5.5.2653.19) id ; Fri, 17 Sep 2004 10:28:26 -0500 Message-ID: <0E436C278A0AD511A3BE00B0D06896FC0EAED09E@clavin.decisionsys.com> From: Tim Dawson To: Jakarta Commons Developers List , Dion Gillard Subject: RE: CSV parser & printer Date: Fri, 17 Sep 2004 10:28:26 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N I probably should have said up front that I had written this expressly because the ostermiller implementation is inaccessible to me due to the GPL license. > http://www.osjava.org/genjava/multiproject/gj-csv/ I didn't run across that in my search; I'll have to check it out more in depth. One thing I like off the top is being able to read field-by-field; my implementation currently grabs a line at a time, but I can see on a very wide file that this would be necessary. Regardless, is there any interest in placing this in commons? I know my company prefers to minimize the number of sources for tools, and having this in commons would have been helpful for me. If there's interest I'll clean up the code (add apache banner, format according to accepted styles, that sort of thing) and send it out for review and voting. > IO is the first place I'd look for csv handling (though possibly only > because I implement them as Reader/Writer style classes). Others have > suggested Codec in the past. Yeah, there's no clear winner between the two. They're not exactly reader/writers which is why I named them parser & printer -- just so nobody expected them to be subclasses of java.io.Reader & java.io.Writer. Tim > -----Original Message----- > From: Henri Yandell [mailto:flamefew@gmail.com] > Sent: Thursday, September 16, 2004 6:51 PM > To: Jakarta Commons Developers List; Dion Gillard > Subject: Re: CSV parser & printer > > http://www.osjava.org/genjava/multiproject/gj-csv/ > > is available as well if it has any useful ideas that could be merged in. > > IO is the first place I'd look for csv handling (though possibly only > because I implement them as Reader/Writer style classes). Others have > suggested Codec in the past. > > Hen > > > On Fri, 17 Sep 2004 09:43:11 +1000, Dion Gillard > wrote: > > The licensing on those is GPL. > > > > > > > > > > On Thu, 16 Sep 2004 14:32:20 -0400, Jung, Eric > wrote: > > > Tim, > > > Someone beat you to the punch. There's already an implementation at: > > > > > > http://ostermiller.org/utils/CSV.html > > > and for excel: > > > http://ostermiller.org/utils/ExcelCSV.html > > > > > > I haven't used them so I don't know how well they work. > > > > > > That said, these classes are on the lesser-known Giant Java Tree, not > > > Commons, and are licensed under GPL, not LGPL :( so I would very much > like > > > to see your work whether or not the Commons folks are interested in > > > publishing it. > > > > > > Good luck, > > > Eric > > > > > > > > > > > > -----Original Message----- > > > From: Tim Dawson [mailto:tim.dawson@idsgrp.com] > > > Sent: Thursday, September 16, 2004 2:18 PM > > > To: commons-dev@jakarta.apache.org > > > Subject: CSV parser & printer > > > > > > I've implemented CSV parser & printer classes (with accompanying unit > tests) > > > that are Microsoft Excel compatible (i.e. it uses double quotes rather > than > > > an escape character). I'd like to donate it to commons; any interest? > Which > > > project would it go to - I didn't see one that jumped out as being the > > > obvious candidate. > > > > > > Tim Dawson > > > tdawson@apache.org > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org > > > For additional commands, e-mail: commons-dev-help@jakarta.apache.org > > > > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org > > > For additional commands, e-mail: commons-dev-help@jakarta.apache.org > > > > > > > > > > > > -- > > http://www.multitask.com.au/people/dion/ > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org > > For additional commands, e-mail: commons-dev-help@jakarta.apache.org > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org > For additional commands, e-mail: commons-dev-help@jakarta.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org