commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bernd Eckenfels" <e...@zusammenkunft.net>
Subject Re: [CSV] Creating CSVParser instances
Date Thu, 08 Aug 2013 16:20:42 GMT
Am 08.08.2013, 16:09 Uhr, schrieb Emmanuel Bourg <ebourg@apache.org>:

> Le 08/08/2013 15:40, Gary Gregory a écrit :
>> Sans type names:
>> parse(File, CSVFormat)
>> parse(String, Charset, ClassLoader, CSVFormat)
>> parse(String, Charset, CSVFormat)
>> [parse(String)]
>> parse(String, CSVFormat)
>> parse(URL, Charset, CSVFormat)
>
> That looks better. I would remove the methods for a classpath resource,
> that's a less common case. That would make:
>
> parse(File, CSVFormat)
> parse(String, CSVFormat)
> parse(URL, Charset, CSVFormat)

I think (InputStream, Charset) and (Reader) are the most important generic  
types. (Allowing also to adopt to CharSequence or Buffers).

Gruss
Bernd
-- 
http://www.zusammenkunft.net

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


Mime
View raw message