Re: [csv] CSVFormat API names

2012-10-17 Thread Benedikt Ritter
2012/10/17 sebb : > On 16 October 2012 21:56, Benedikt Ritter wrote: >> 2012/10/16 Gary Gregory : >>> On Tue, Oct 16, 2012 at 1:00 PM, Stephen Colebourne >>> wrote: >>> On 16 October 2012 17:44, Matt Benson wrote: > On Tue, Oct 16, 2012 at 11:42 AM, James Carman > wrote: >>

Re: [csv] CSVFormat API names

2012-10-16 Thread Gary Gregory
On Tue, Oct 16, 2012 at 7:14 PM, sebb wrote: > On 16 October 2012 21:00, Gary Gregory wrote: > > On Tue, Oct 16, 2012 at 3:38 PM, James Carman < > ja...@carmanconsulting.com>wrote: > > > >> On Tue, Oct 16, 2012 at 2:25 PM, Gary Gregory > >> wrote: > >> > > >> > I did not do this one as is it se

Re: [csv] CSVFormat API names

2012-10-16 Thread sebb
On 16 October 2012 21:00, Gary Gregory wrote: > On Tue, Oct 16, 2012 at 3:38 PM, James Carman > wrote: > >> On Tue, Oct 16, 2012 at 2:25 PM, Gary Gregory >> wrote: >> > >> > I did not do this one as is it seems RFC4180 defines CR+LF as the record >> > separator as noted in the Javadoc for >> > o

Re: [csv] CSVFormat API names

2012-10-16 Thread sebb
On 16 October 2012 21:56, Benedikt Ritter wrote: > 2012/10/16 Gary Gregory : >> On Tue, Oct 16, 2012 at 1:00 PM, Stephen Colebourne >> wrote: >> >>> On 16 October 2012 17:44, Matt Benson wrote: >>> > On Tue, Oct 16, 2012 at 11:42 AM, James Carman >>> > wrote: >>> >> On Tue, Oct 16, 2012 at 12:3

Re: [csv] CSVFormat API names

2012-10-16 Thread Benedikt Ritter
2012/10/16 Gary Gregory : > On Tue, Oct 16, 2012 at 1:00 PM, Stephen Colebourne > wrote: > >> On 16 October 2012 17:44, Matt Benson wrote: >> > On Tue, Oct 16, 2012 at 11:42 AM, James Carman >> > wrote: >> >> On Tue, Oct 16, 2012 at 12:38 PM, Matt Benson >> wrote: >> >>> >> >>> Are these specif

Re: [csv] CSVFormat API names

2012-10-16 Thread Gary Gregory
On Tue, Oct 16, 2012 at 1:00 PM, Stephen Colebourne wrote: > On 16 October 2012 17:44, Matt Benson wrote: > > On Tue, Oct 16, 2012 at 11:42 AM, James Carman > > wrote: > >> On Tue, Oct 16, 2012 at 12:38 PM, Matt Benson > wrote: > >>> > >>> Are these specific examples not the words you would act

Re: [csv] CSVFormat API names

2012-10-16 Thread Honton, Charles
Wikipedia has "Delimiter separated text" and "Delimiter-separated values" (http://en.wikipedia.org/wiki/Delimiter-separated_values) This suggests that CsvFormat, Rfc4180Format, and TsvFormat could be final classes extending DsvFormat. chas On 10/16/12 12:50 PM, "Gary Gregory" wrote: >On Tue, O

Re: [csv] CSVFormat API names

2012-10-16 Thread Gary Gregory
On Tue, Oct 16, 2012 at 3:38 PM, James Carman wrote: > On Tue, Oct 16, 2012 at 2:25 PM, Gary Gregory > wrote: > > > > I did not do this one as is it seems RFC4180 defines CR+LF as the record > > separator as noted in the Javadoc for > > org.apache.commons.csv.CSVFormat.DEFAULT. > > > > That's whe

Re: [csv] CSVFormat API names

2012-10-16 Thread Gary Gregory
On Tue, Oct 16, 2012 at 3:38 PM, James Carman wrote: > On Tue, Oct 16, 2012 at 2:25 PM, Gary Gregory > wrote: > > > > I did not do this one as is it seems RFC4180 defines CR+LF as the record > > separator as noted in the Javadoc for > > org.apache.commons.csv.CSVFormat.DEFAULT. > > > > That's whe

Re: [csv] CSVFormat API names

2012-10-16 Thread James Carman
On Tue, Oct 16, 2012 at 2:25 PM, Gary Gregory wrote: > > I did not do this one as is it seems RFC4180 defines CR+LF as the record > separator as noted in the Javadoc for > org.apache.commons.csv.CSVFormat.DEFAULT. > That's where the name of this component gets confusing to me. Since it's called

Re: [csv] CSVFormat API names

2012-10-16 Thread Gary Gregory
On Tue, Oct 16, 2012 at 11:43 AM, sebb wrote: > On 16 October 2012 16:34, Gary Gregory wrote: > > On Tue, Oct 16, 2012 at 11:29 AM, Gary Gregory >wrote: > > > >> On Tue, Oct 16, 2012 at 11:04 AM, Matt Benson >wrote: > >> > >>> Random thoughts--no real context here, so no way to inline: > >>> >

Re: [csv] CSVFormat API names

2012-10-16 Thread Benedikt Ritter
2012/10/16 Stephen Colebourne : > On 16 October 2012 17:44, Matt Benson wrote: >> On Tue, Oct 16, 2012 at 11:42 AM, James Carman >> wrote: >>> On Tue, Oct 16, 2012 at 12:38 PM, Matt Benson wrote: Are these specific examples not the words you would actually use were you having a di

Re: [csv] CSVFormat API names

2012-10-16 Thread Stephen Colebourne
On 16 October 2012 17:44, Matt Benson wrote: > On Tue, Oct 16, 2012 at 11:42 AM, James Carman > wrote: >> On Tue, Oct 16, 2012 at 12:38 PM, Matt Benson wrote: >>> >>> Are these specific examples not the words you would actually use were >>> you having a discussion on the subject in English? :P

Re: [csv] CSVFormat API names

2012-10-16 Thread Matt Benson
On Tue, Oct 16, 2012 at 11:42 AM, James Carman wrote: > On Tue, Oct 16, 2012 at 12:38 PM, Matt Benson wrote: >> >> Are these specific examples not the words you would actually use were >> you having a discussion on the subject in English? :P >> > > Why not just support both? The "with*" methods

Re: [csv] CSVFormat API names

2012-10-16 Thread James Carman
On Tue, Oct 16, 2012 at 12:38 PM, Matt Benson wrote: > > Are these specific examples not the words you would actually use were > you having a discussion on the subject in English? :P > Why not just support both? The "with*" methods would just be aliases for the more "natural language" method na

Re: [csv] CSVFormat API names

2012-10-16 Thread Matt Benson
On Tue, Oct 16, 2012 at 11:27 AM, sebb wrote: > On 16 October 2012 17:08, Jörg Schaible wrote: >> Matt Benson wrote: >> >>> Random thoughts--no real context here, so no way to inline: >>> >>> - "line separator" concept, while harmonizing with the line.separator >>> system property, might be bette

Re: [csv] CSVFormat API names

2012-10-16 Thread sebb
On 16 October 2012 17:08, Jörg Schaible wrote: > Matt Benson wrote: > >> Random thoughts--no real context here, so no way to inline: >> >> - "line separator" concept, while harmonizing with the line.separator >> system property, might be better represented as "row separator" so as >> not to imply

Re: [csv] CSVFormat API names

2012-10-16 Thread Jörg Schaible
Matt Benson wrote: > Random thoughts--no real context here, so no way to inline: > > - "line separator" concept, while harmonizing with the line.separator > system property, might be better represented as "row separator" so as > not to imply that the parameter should be in any way limited to \r o

Re: [csv] CSVFormat API names

2012-10-16 Thread sebb
On 16 October 2012 16:34, Gary Gregory wrote: > On Tue, Oct 16, 2012 at 11:29 AM, Gary Gregory wrote: > >> On Tue, Oct 16, 2012 at 11:04 AM, Matt Benson wrote: >> >>> Random thoughts--no real context here, so no way to inline: >>> >>> - "line separator" concept, while harmonizing with the line.sep

Re: [csv] CSVFormat API names

2012-10-16 Thread Gary Gregory
On Tue, Oct 16, 2012 at 11:29 AM, Gary Gregory wrote: > On Tue, Oct 16, 2012 at 11:04 AM, Matt Benson wrote: > >> Random thoughts--no real context here, so no way to inline: >> >> - "line separator" concept, while harmonizing with the line.separator >> system property, might be better represented

Re: [csv] CSVFormat API names

2012-10-16 Thread sebb
On 16 October 2012 16:29, Gary Gregory wrote: > On Tue, Oct 16, 2012 at 11:04 AM, Matt Benson wrote: > >> Random thoughts--no real context here, so no way to inline: >> >> - "line separator" concept, while harmonizing with the line.separator >> system property, might be better represented as "row

Re: [csv] CSVFormat API names

2012-10-16 Thread Gary Gregory
On Tue, Oct 16, 2012 at 11:04 AM, Matt Benson wrote: > Random thoughts--no real context here, so no way to inline: > > - "line separator" concept, while harmonizing with the line.separator > system property, might be better represented as "row separator" so as > not to imply that the parameter sh

Re: [csv] CSVFormat API names

2012-10-16 Thread Matt Benson
Random thoughts--no real context here, so no way to inline: - "line separator" concept, while harmonizing with the line.separator system property, might be better represented as "row separator" so as not to imply that the parameter should be in any way limited to \r or \n . I would think the defa

Re: [csv] CSVFormat API names

2012-10-16 Thread Jörg Schaible
Gary Gregory wrote: > On Tue, Oct 16, 2012 at 9:14 AM, Jörg Schaible > wrote: > >> Hi Gary, >> >> Gary Gregory wrote: >> >> > Hi All: >> > >> > The format object can configure various aspects of input and output >> > formatting. >> > >> > With my recent addition of the Quote enum for [CSV-53], th

Re: [csv] CSVFormat API names

2012-10-16 Thread Gary Gregory
On Tue, Oct 16, 2012 at 9:14 AM, Jörg Schaible wrote: > Hi Gary, > > Gary Gregory wrote: > > > Hi All: > > > > The format object can configure various aspects of input and output > > formatting. > > > > With my recent addition of the Quote enum for [CSV-53], there are now two > > aspects of quotin

Re: [csv] CSVFormat API names

2012-10-16 Thread Gary Gregory
On Tue, Oct 16, 2012 at 9:14 AM, Jörg Schaible wrote: > Hi Gary, > > Gary Gregory wrote: > > > Hi All: > > > > The format object can configure various aspects of input and output > > formatting. > > > > With my recent addition of the Quote enum for [CSV-53], there are now two > > aspects of quotin

Re: [csv] CSVFormat API names

2012-10-16 Thread Simone Tripodi
+1 to Jörg, that would be my recommendation as well! my 0.02 cents, -Simo http://people.apache.org/~simonetripodi/ http://simonetripodi.livejournal.com/ http://twitter.com/simonetripodi http://www.99soft.org/ On Tue, Oct 16, 2012 at 3:14 PM, Jörg Schaible wrote: > Hi Gary, > > Gary Gregory wro

Re: [csv] CSVFormat API names

2012-10-16 Thread Jörg Schaible
Hi Gary, Gary Gregory wrote: > Hi All: > > The format object can configure various aspects of input and output > formatting. > > With my recent addition of the Quote enum for [CSV-53], there are now two > aspects of quoting to configure: the quote character and the quote policy > (minimal, all,

[csv] CSVFormat API names

2012-10-16 Thread Gary Gregory
Hi All: The format object can configure various aspects of input and output formatting. With my recent addition of the Quote enum for [CSV-53], there are now two aspects of quoting to configure: the quote character and the quote policy (minimal, all, non-numeric, and none.) FYI, 'none' is current