Re: [CSV] Record Separator query

2017-08-27 Thread Bruno P. Kinoshita
ay, 27 August 2017, 2:20:19 AM NZSTSubject: Re: [CSV] Record Separator query Hi Bruno, I think it is fine to proceed with a release for 1.5. The code seems stable to me now. The mutable record issue does not sound settled and fully baked to me. I like RERO and since you've kindly volunteered to RM

Re: [CSV] Record Separator query

2017-08-26 Thread Gary Gregory
From: Gary Gregory <garydgreg...@gmail.com> > To: Commons Users List <user@commons.apache.org>; Bruno P. Kinoshita < > brunodepau...@yahoo.com.br> > Sent: Sunday, 13 August 2017, 4:24:34 PM NZST > Subject: Re: [CSV] Record Separator query > > On Sat, Aug 12, 2017

Re: [CSV] Record Separator query

2017-08-26 Thread Bruno P. Kinoshita
gust 2017, 4:24:34 PM NZST Subject: Re: [CSV] Record Separator query On Sat, Aug 12, 2017 at 8:48 PM, Bruno P. Kinoshita <brunodepau...@yahoo.com.br.invalid> wrote: > Hmmm, for a while I have been considering learning how to release Commons > components. Maybe I could start with

Re: [CSV] Record Separator query

2017-08-12 Thread Gary Gregory
On Sat, Aug 12, 2017 at 8:48 PM, Bruno P. Kinoshita < brunodepau...@yahoo.com.br.invalid> wrote: > Hmmm, for a while I have been considering learning how to release Commons > components. Maybe I could start with Commons CSV, though I could do with > some help :) I will start reading the docs at

Re: [CSV] Record Separator query

2017-08-12 Thread Bruno P. Kinoshita
Hmmm, for a while I have been considering learning how to release Commons components. Maybe I could start with Commons CSV, though I could do with some help :) I will start reading the docs at  https://commons.apache.org/releases/index.html. Is there anything else I need to know to act as RM?

Re: [CSV] Record Separator query

2017-08-12 Thread Gary Gregory
There is no one currently slated to volunteer to RM the release. Good time to ask though! Do have a committer here willing to volunteer to release Commons CSV 1.5? Thank you, Gary On Fri, Aug 11, 2017 at 3:27 PM, nitin mahendru wrote: > Thanks for accepting the

Re: [CSV] Record Separator query

2017-08-11 Thread nitin mahendru
Thanks for accepting the pull request. Any pointers on when the version 1.5 will be released ? On Thu, Aug 10, 2017 at 2:19 PM nitin mahendru wrote: > Thanks Greg. > Well the problem actually was that I am behind a proxy. So my mistake. > Sorry for that. > > I

Re: [CSV] Record Separator query

2017-08-10 Thread nitin mahendru
Thanks Greg. Well the problem actually was that I am behind a proxy. So my mistake. Sorry for that. I have raised a pull request and a JIRA item CSV-214. Looking forward to your feedback. Thanks Nitin On Thu, Aug 10, 2017 at 1:08 PM Gary Gregory wrote: > Use the

Re: [CSV] Record Separator query

2017-08-10 Thread Gary Gregory
Use the button provided by GitHub to copy the repo URL to the clipboard, then you can just use "git clone " On Thu, Aug 10, 2017 at 1:05 PM, nitin mahendru wrote: > Hello All, > > I raised a JIRA ticket(CSV-214) to make some changes to the code for what I > a trying

Re: [CSV] Record Separator query

2017-08-10 Thread nitin mahendru
Hello All, I raised a JIRA ticket(CSV-214) to make some changes to the code for what I a trying to do. The description on the ticket might help explain things better. Now I am trying to clone the repo to make a pull request but I am just stuck at this: git -c http.sslVerify=false clone

Re: [CSV] Record Separator query

2017-08-09 Thread Gary Gregory
On Wed, Aug 9, 2017 at 5:04 PM, Guang Chao wrote: > On Wed, Aug 9, 2017 at 6:12 AM, nitin mahendru > > wrote: > > > Hello All, > > > > I am trying to read in a csv file which may be 'crlf' or 'lf' seperated. > > Then I want to change a

Re: [CSV] Record Separator query

2017-08-09 Thread Guang Chao
On Wed, Aug 9, 2017 at 6:12 AM, nitin mahendru wrote: > Hello All, > > I am trying to read in a csv file which may be 'crlf' or 'lf' seperated. > Then I want to change a particular column, say encrypt it and then write > back a new csv with that updated column. I want

Re: [CSV] Record Separator query

2017-08-09 Thread Gary Gregory
If you look at the Javadoc or the code for CSVFormat.RFC4180 you will see that this format uses CR LF. Gary On Wed, Aug 9, 2017 at 10:51 AM, nitin mahendru wrote: > Hi Gary, > > Thanks for a quick turnaround. We are using the below code to parse our > input csv: >

Re: [CSV] Record Separator query

2017-08-09 Thread nitin mahendru
Hi Tim, I am not worried about the delimiter. I am worried about the "line seperator". We are in the process of writing a multi platform application. So we need to be able to accept CSVs generated with Windows/Linux type Line endings. While parsing the parser can identify that information, but it

Re: [CSV] Record Separator query

2017-08-09 Thread Tim Cronin
you can extend the formats and set the delimiter that way. https://commons.apache.org/proper/commons-csv/archives/1.2/apidocs/org/apache/commons/csv/CSVFormat.html https://commons.apache.org/proper/commons-csv/archives/1.2/apidocs/org/apache/commons/csv/CSVFormat.html#withDelimiter-char- On

Re: [CSV] Record Separator query

2017-08-09 Thread nitin mahendru
Hi Gary, Thanks for a quick turnaround. We are using the below code to parse our input csv: CSVFormat.RFC4180.withIgnoreEmptyLines(true).parse(new InputStreamReader(this.getStreamIn(), readerCharset)) We never tell the parser what line separator to expect and it automatically figures it out.

Re: [CSV] Record Separator query

2017-08-08 Thread Gary Gregory
Hi Nitin, You _tell_ the parser what record separator to use, the parser does not tell you. Gary On Aug 8, 2017 16:13, "nitin mahendru" wrote: Hello All, I am trying to read in a csv file which may be 'crlf' or 'lf' seperated. Then I want to change a particular