Stephan Bublava created CSV-266:
-----------------------------------
Summary: 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
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)