commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benedikt Ritter (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CSV-179) Add shortcut method for using first record as header to CSVFormat
Date Tue, 03 May 2016 18:44:12 GMT

     [ https://issues.apache.org/jira/browse/CSV-179?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Benedikt Ritter resolved CSV-179.
---------------------------------
    Resolution: Fixed

{code}
$ svn ci -m "CSV-179: Add shortcut method for using first record as header to CSVFormat"
Sending        src/changes/changes.xml
Sending        src/main/java/org/apache/commons/csv/CSVFormat.java
Sending        src/test/java/org/apache/commons/csv/CSVFormatTest.java
Transmitting file data ...
Committed revision 1742175.
{code}

> Add shortcut method for using first record as header to CSVFormat
> -----------------------------------------------------------------
>
>                 Key: CSV-179
>                 URL: https://issues.apache.org/jira/browse/CSV-179
>             Project: Commons CSV
>          Issue Type: Improvement
>          Components: Parser
>            Reporter: Benedikt Ritter
>            Assignee: Benedikt Ritter
>             Fix For: 1.3
>
>
> As discussed on the dev ML:
> Instead of:
> {code:java}
> CSVFormat.RFC4180
>    .withHeader() // use first row as header
>    .withSkipHeaderRecord();
> {code}
> It would be useful to have a method that does this in one call: withFirstRecordAsHeader()



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

Mime
View raw message