Uploaded image for project: 'Commons CSV'
  1. Commons CSV
  2. CSV-179

Add shortcut method for using first record as header to CSVFormat

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.3
    • Parser
    • None

    Description

      As discussed on the dev ML:

      Instead of:

      CSVFormat.RFC4180
         .withHeader() // use first row as header
         .withSkipHeaderRecord();
      

      It would be useful to have a method that does this in one call: withFirstRecordAsHeader()

      Attachments

        Activity

          People

            britter Benedikt Ritter
            britter Benedikt Ritter
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: