You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gary Gregory (JIRA)" <ji...@apache.org> on 2015/08/11 00:03:45 UTC

[jira] [Created] (CSV-157) Add enum CSVFormat.Predefined that contains the default CSVFormat values

Gary Gregory created CSV-157:
--------------------------------

             Summary: Add enum CSVFormat.Predefined that contains the default CSVFormat values
                 Key: CSV-157
                 URL: https://issues.apache.org/jira/browse/CSV-157
             Project: Commons CSV
          Issue Type: New Feature
         Environment: Apache Maven 3.3.3 (7994120775791599e205a5524ec3e0dfe41d4a06; 2015-04-22T04:57:37-07:00)
Maven home: C:\Java\apache-maven-3.3.3\bin\..
Java version: 1.7.0_79, vendor: Oracle Corporation
Java home: C:\Program Files\Java\jdk1.7.0_79\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
            Reporter: Gary Gregory
            Assignee: Gary Gregory


Add enum CSVFormat.Predefined that contains the default CSVFormat values. This allows for easy configuration from an external source via a one-lner code like:

{code:java}
CSVFormat format = CSVFormat.Predefined.valueOf(stringKey).getFormat();
{code}



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