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

Stephan Bublava closed CSV-266.
-------------------------------
    Resolution: Not A Problem

> CSVRecord.toList() should be public
> -----------------------------------
>
>                 Key: CSV-266
>                 URL: https://issues.apache.org/jira/browse/CSV-266
>             Project: Commons CSV
>          Issue Type: Improvement
>          Components: Printer
>    Affects Versions: 1.8
>            Reporter: Stephan Bublava
>            Priority: Minor
>
> I need to write CSVRecord instances to a file.
> CSVPrinter supports:
>  * void printRecord(final Object... values)
>  * void printRecords(final Iterable<?> values)
> but CSVRecords only offers:
>  * Iterator<String> iterator()
> This is cumbersome, because I have to perform a (superfluous) Iterator -> 
> List conversion to make this work.
> Please make CSVRecord.toList() public or add 
> CSVPrinter.printRecord(CSVRecord).



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to