Benedikt Ritter created CSV-179:
-----------------------------------
Summary: 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)