Le 01/08/2013 23:57, ggreg...@apache.org 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.getInt("column1");
    config.getLong("column2", defaultValue);


Emmanuel Bourg


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

Reply via email to