commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: [csv] Headers
Date Tue, 13 Mar 2012 08:56:45 GMT
On 13 March 2012 08:52, Emmanuel Bourg <ebourg@apache.org> wrote:
> Le 13/03/2012 09:21, Jörg Schaible a écrit :
>
>
>>> If the file has a header, the fields are matched by attribute name, and
>>> an annotation can override the name of the column associated to an
>>> attribute.
>>
>>
>> Yeah, but that's not required. Just because you can read the names of the
>> columns does not mean that you want to address them by name. Why pay the
>> price for creating the map and accessing the values by name just for a
>> one-
>> time information?
>
>
> Sorry I forgot the end of my message, I meant to access the fields by name
> OR by index when the header is present. That would be configured with the
> annotations.

It needs to be possible to access columns by index without having to
use annotations.

> Emmanuel Bourg
>

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


Mime
View raw message