Re: [CSV] Some tweaks for working with headers

2016-05-03 Thread Gary Gregory
On Tue, May 3, 2016 at 11:36 AM, Benedikt Ritter wrote: > Gary Gregory schrieb am Di., 3. Mai 2016 um > 20:16 Uhr: > > > @Benedikt: Would you be able to RM these and what is trunk out in to > > release? > > > > I was already thinking about this, we have a lot of nice new things in > trunk. I'll

Re: [CSV] Some tweaks for working with headers

2016-05-03 Thread Benedikt Ritter
Gary Gregory schrieb am Di., 3. Mai 2016 um 20:16 Uhr: > @Benedikt: Would you be able to RM these and what is trunk out in to > release? > I was already thinking about this, we have a lot of nice new things in trunk. I'll be on vacation next week. If I can't manage to push an RC out this week, I

Re: [CSV] Some tweaks for working with headers

2016-05-03 Thread Gary Gregory
@Benedikt: Would you be able to RM these and what is trunk out in to release? Gary On Tue, May 3, 2016 at 9:33 AM, Benedikt Ritter wrote: > I have created CSV-179 [1] and CSV-180 [2] for this. > > [1] https://issues.apache.org/jira/browse/CSV-179 > [2] https://issues.apache.org/jira/browse/CSV-

Re: [CSV] Some tweaks for working with headers

2016-05-03 Thread Benedikt Ritter
I have created CSV-179 [1] and CSV-180 [2] for this. [1] https://issues.apache.org/jira/browse/CSV-179 [2] https://issues.apache.org/jira/browse/CSV-180 Gary Gregory schrieb am So., 1. Mai 2016 um 22:26 Uhr: > This all sounds good to me. > > Gary > On May 1, 2016 12:05 PM, "Benedikt Ritter" w

Re: [CSV] Some tweaks for working with headers

2016-05-01 Thread Gary Gregory
This all sounds good to me. Gary On May 1, 2016 12:05 PM, "Benedikt Ritter" wrote: > Hi, > > I often seeing myself doing the following when my csv file has a header > row: > > CSVFormat.RFC4180 >.withHeader() // use first row as header >.withSkipHeaderRecord(); > > How about combining th

[CSV] Some tweaks for working with headers

2016-05-01 Thread Benedikt Ritter
Hi, I often seeing myself doing the following when my csv file has a header row: CSVFormat.RFC4180 .withHeader() // use first row as header .withSkipHeaderRecord(); How about combining the two into a method called withFirstRecordAsHeader() or something like that? Further more I find it un