You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Benedikt Ritter (JIRA)" <ji...@apache.org> on 2016/05/09 17:49:13 UTC

[jira] [Closed] (CSV-179) Add shortcut method for using first record as header to CSVFormat

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

Benedikt Ritter closed CSV-179.
-------------------------------

> 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)