You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Gary Gregory <ga...@gmail.com> on 2016/06/13 02:18:19 UTC

[csv] Update to Java 8

Now that we pushed out 1.4, I plan on updating the platform requirement to
Java 7.

Gary

-- 
E-Mail: garydgregory@gmail.com | ggregory@apache.org
Java Persistence with Hibernate, Second Edition
<http://www.manning.com/bauer3/>
JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
Spring Batch in Action <http://www.manning.com/templier/>
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory

Re: [csv] Update to Java 8

Posted by Stian Soiland-Reyes <st...@apache.org>.
NIO Path and AutoClosable try blocks are good enough reasons for me!   :)




On 13 June 2016 at 18:13, Gary Gregory <ga...@gmail.com> wrote:
> Java 7. Right now I'm thinking of adding convenience APIs for NIO Path, and
> old school File.
>
> Java 8 streams would be interesting for sure. Later for me...
>
> Gary
>
> On Mon, Jun 13, 2016 at 10:10 AM, Stian Soiland-Reyes <st...@apache.org>
> wrote:
>
>> 7 (email) or 8 (subject)?
>>
>> I'm +1 for either - but I'm not sure if CSV would benefit much from
>> Java 8 features, or are you thinking Java 8 Streams for CSV? (That
>> would be really cool!)
>>
>>
>>
>> On 13 June 2016 at 03:18, Gary Gregory <ga...@gmail.com> wrote:
>> > Now that we pushed out 1.4, I plan on updating the platform requirement
>> to
>> > Java 7.
>> >
>> > Gary
>> >
>> > --
>> > E-Mail: garydgregory@gmail.com | ggregory@apache.org
>> > Java Persistence with Hibernate, Second Edition
>> > <http://www.manning.com/bauer3/>
>> > JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
>> > Spring Batch in Action <http://www.manning.com/templier/>
>> > Blog: http://garygregory.wordpress.com
>> > Home: http://garygregory.com/
>> > Tweet! http://twitter.com/GaryGregory
>>
>>
>>
>> --
>> Stian Soiland-Reyes
>> Apache Taverna (incubating), Apache Commons
>> http://orcid.org/0000-0001-9842-9718
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>> For additional commands, e-mail: dev-help@commons.apache.org
>>
>>
>
>
> --
> E-Mail: garydgregory@gmail.com | ggregory@apache.org
> Java Persistence with Hibernate, Second Edition
> <http://www.manning.com/bauer3/>
> JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
> Spring Batch in Action <http://www.manning.com/templier/>
> Blog: http://garygregory.wordpress.com
> Home: http://garygregory.com/
> Tweet! http://twitter.com/GaryGregory



-- 
Stian Soiland-Reyes
Apache Taverna (incubating), Apache Commons
http://orcid.org/0000-0001-9842-9718

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Re: [csv] Update to Java 8

Posted by Gary Gregory <ga...@gmail.com>.
Java 7. Right now I'm thinking of adding convenience APIs for NIO Path, and
old school File.

Java 8 streams would be interesting for sure. Later for me...

Gary

On Mon, Jun 13, 2016 at 10:10 AM, Stian Soiland-Reyes <st...@apache.org>
wrote:

> 7 (email) or 8 (subject)?
>
> I'm +1 for either - but I'm not sure if CSV would benefit much from
> Java 8 features, or are you thinking Java 8 Streams for CSV? (That
> would be really cool!)
>
>
>
> On 13 June 2016 at 03:18, Gary Gregory <ga...@gmail.com> wrote:
> > Now that we pushed out 1.4, I plan on updating the platform requirement
> to
> > Java 7.
> >
> > Gary
> >
> > --
> > E-Mail: garydgregory@gmail.com | ggregory@apache.org
> > Java Persistence with Hibernate, Second Edition
> > <http://www.manning.com/bauer3/>
> > JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
> > Spring Batch in Action <http://www.manning.com/templier/>
> > Blog: http://garygregory.wordpress.com
> > Home: http://garygregory.com/
> > Tweet! http://twitter.com/GaryGregory
>
>
>
> --
> Stian Soiland-Reyes
> Apache Taverna (incubating), Apache Commons
> http://orcid.org/0000-0001-9842-9718
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
>


-- 
E-Mail: garydgregory@gmail.com | ggregory@apache.org
Java Persistence with Hibernate, Second Edition
<http://www.manning.com/bauer3/>
JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
Spring Batch in Action <http://www.manning.com/templier/>
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory

Re: [csv] Update to Java 8

Posted by Peter Ansell <an...@gmail.com>.
The ability to push Lambda's into a CSV processing library, to avoid
users having to implement a "while(hasNext())" loop
correctly/efficiently each time shouldn't underestimated. I have
written a utility method myself to do this for my projects. It uses
Jackson CSV right now but the pattern should be similar.

https://github.com/ansell/csvsum/blob/master/src/main/java/com/github/ansell/csv/util/CSVUtil.java#L98

Cheers,

Peter

On 14 June 2016 at 03:10, Stian Soiland-Reyes <st...@apache.org> wrote:
> 7 (email) or 8 (subject)?
>
> I'm +1 for either - but I'm not sure if CSV would benefit much from
> Java 8 features, or are you thinking Java 8 Streams for CSV? (That
> would be really cool!)
>
>
>
> On 13 June 2016 at 03:18, Gary Gregory <ga...@gmail.com> wrote:
>> Now that we pushed out 1.4, I plan on updating the platform requirement to
>> Java 7.
>>
>> Gary
>>
>> --
>> E-Mail: garydgregory@gmail.com | ggregory@apache.org
>> Java Persistence with Hibernate, Second Edition
>> <http://www.manning.com/bauer3/>
>> JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
>> Spring Batch in Action <http://www.manning.com/templier/>
>> Blog: http://garygregory.wordpress.com
>> Home: http://garygregory.com/
>> Tweet! http://twitter.com/GaryGregory
>
>
>
> --
> Stian Soiland-Reyes
> Apache Taverna (incubating), Apache Commons
> http://orcid.org/0000-0001-9842-9718
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Re: [csv] Update to Java 8

Posted by Stian Soiland-Reyes <st...@apache.org>.
7 (email) or 8 (subject)?

I'm +1 for either - but I'm not sure if CSV would benefit much from
Java 8 features, or are you thinking Java 8 Streams for CSV? (That
would be really cool!)



On 13 June 2016 at 03:18, Gary Gregory <ga...@gmail.com> wrote:
> Now that we pushed out 1.4, I plan on updating the platform requirement to
> Java 7.
>
> Gary
>
> --
> E-Mail: garydgregory@gmail.com | ggregory@apache.org
> Java Persistence with Hibernate, Second Edition
> <http://www.manning.com/bauer3/>
> JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
> Spring Batch in Action <http://www.manning.com/templier/>
> Blog: http://garygregory.wordpress.com
> Home: http://garygregory.com/
> Tweet! http://twitter.com/GaryGregory



-- 
Stian Soiland-Reyes
Apache Taverna (incubating), Apache Commons
http://orcid.org/0000-0001-9842-9718

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org