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

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

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.6
    • Component/s: Printer
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: