commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Gregory (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (CSV-220) Add API org.apache.commons.csv.CSVFormat.withSystemRecordSeparator()
Date Mon, 11 Dec 2017 18:51:00 GMT

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

Gary Gregory closed CSV-220.
----------------------------
    Resolution: Fixed

In git master.

> Add API org.apache.commons.csv.CSVFormat.withSystemRecordSeparator()
> --------------------------------------------------------------------
>
>                 Key: CSV-220
>                 URL: https://issues.apache.org/jira/browse/CSV-220
>             Project: Commons CSV
>          Issue Type: New Feature
>          Components: Printer
>            Reporter: Gary Gregory
>            Assignee: Gary Gregory
>             Fix For: 1.6
>
>
> Add API org.apache.commons.csv.CSVFormat.withSystemRecordSeparator().
> {code:java}
>     /**
>      * 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
>      */
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message