You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Romain Manni-Bucau (JIRA)" <ji...@apache.org> on 2015/11/20 18:22:11 UTC

[jira] [Created] (CSV-163) add a basic mapping feature

Romain Manni-Bucau created CSV-163:
--------------------------------------

             Summary: add a basic mapping feature
                 Key: CSV-163
                 URL: https://issues.apache.org/jira/browse/CSV-163
             Project: Commons CSV
          Issue Type: New Feature
            Reporter: Romain Manni-Bucau


would be neat to be able to map records instead of using string based access:

{code}
public class MyRecored {
    @Csv(position = 1) String name;

    @Csv(name = "city") String city;

// ...
}
{code}


Think it is acceptable to support only basic types (primitives + String/Date to start). This constraint would keep the code light and simple - no converter - but easier to use than "map"-like API .





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)