Le 26/03/2013 16:58, Gary Gregory a écrit :

> Is it worth providing this shortcut:
> 
> Iterable<CSVRecord> parse = CSVFormat.newBuilder().
> withCommentStart('#').withDelimiter('\t').withQuoteChar('"').parse(in);
> 
> the builder would implement parse()

I still think the builder is useless. My initial implementation looked
like this:

Iterable<CSVRecord> parse =
CSVFormat.DEFAULT.withCommentStart('#').withDelimiter('\t').withQuoteChar('"').parse(in);

So yes, in this spirit the builder should implement parse(). But I would
prefer no builder at all.

Emmanuel Bourg


Attachment: smime.p7s
Description: Signature cryptographique S/MIME

Reply via email to