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

Add API org.apache.commons.csv.CSVFormat.withSystemRecordSeparator()

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.6
    • Printer
    • None

    Description

      Add API org.apache.commons.csv.CSVFormat.withSystemRecordSeparator().

          /**
           * Returns a new {@code CSVFormat} with the record separator of the format set to the operating system's line
           * separator string, typically CR+LF on Windows and LF on Linux.
           *
           * <p>
           * <strong>Note:</strong> This setting is only used during printing and does not affect parsing. Parsing currently
           * only works for inputs with '\n', '\r' and "\r\n"
           * </p>
           *
           * @return A new CSVFormat that is equal to this but with the operating system's line separator stringr
           * @since 1.6
           */
      

      Attachments

        Activity

          People

            ggregory Gary D. Gregory
            ggregory Gary D. Gregory
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: