On Fri, 17 Sep 2004 10:28:26 -0500, Tim Dawson <[EMAIL PROTECTED]> wrote:
> 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.

+1 from me.

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

I think the reason there's no clear winner between these is because it
isn't really either. ;-) It's really a file format thingy, and we
don't (yet) have a component for those. That said, I'd prefer to see
this in Codec for now, simply because I see file format handling as
potentially expanding beyond just the IO part. On the other hand, I
don't feel all that strongly about that.

--
Martin Cooper


> 
> Tim 
> 
> 
> 
> 
> > -----Original Message-----
> > From: Henri Yandell [mailto:[EMAIL PROTECTED]
> > 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 <[EMAIL PROTECTED]>
> > wrote:
> > > The licensing on those is GPL.
> > >
> > >
> > >
> > >
> > > On Thu, 16 Sep 2004 14:32:20 -0400, Jung, Eric <[EMAIL PROTECTED]>
> > 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:[EMAIL PROTECTED]
> > > > Sent: Thursday, September 16, 2004 2:18 PM
> > > > To: [EMAIL PROTECTED]
> > > > 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
> > > > [EMAIL PROTECTED]
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > >
> > > >
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > >
> > > >
> > >
> > >
> > > --
> > > http://www.multitask.com.au/people/dion/
> > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to