commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Bourg <>
Subject Re: svn commit: r1509450 - in /commons/proper/csv/trunk/src: main/java/org/apache/commons/csv/ test/java/org/apache/commons/csv/
Date Thu, 01 Aug 2013 23:02:01 GMT
Le 01/08/2013 23:57, a écrit :

> Add CSVRecord#getInt(String) API and tests.

All of these methods are already implemented in [configuration] with
pretty much all the types you might need (Enums, URLs, colors, emails,
dates, calendars, primitives, arrays, etc). If CSVRecord could return a
map this could be done with:

    Configuration config = new MapConfiguration(record.toMap());
    config.getLong("column2", defaultValue);

Emmanuel Bourg

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message