commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Gregory <garydgreg...@gmail.com>
Subject Re: [CSV] CSVPrinter#println() - should this be renamed?
Date Wed, 17 Apr 2013 13:58:56 GMT
On Wed, Apr 17, 2013 at 8:44 AM, Emmanuel Bourg <ebourg@apache.org> wrote:

> Le 17/04/2013 14:39, sebb a écrit :
>
> > Not necessarily.
> > It's a string, which can be anything.
>
> Anything but a line separator is an error. CSVFormat doesn't allow fancy
> values for the separator.
>

Ok, so we could beef up
org.apache.commons.csv.CSVFormat.CSVFormatBuilder.validate()

Could this be too restrictive? Could a user want a rec-sep /other/ than a
line-sep?

Gary


>
>
> Emmanuel Bourg
>
>
>


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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message