[
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)