Class CsvFormatter
java.lang.Object
de.xima.fc.logic.text.csv.CsvFormatter
Formats character separated values with a certain set of options. The formatted string can be parsed again with
CsvSplitter.- Since:
- 8.2.0
- Author:
- XIMA MEDIA GmbH
-
Method Summary
Modifier and TypeMethodDescriptionstatic CsvFormattercsvFormatterOfFormat(CsvFormat format) voidvoidformatRows(Iterable<? extends Iterable<String>> values) voidformatRows(Iterable<? extends Iterable<String>> values, Writer writer) voidformatRows(Iterator<? extends Iterable<String>> values, Writer writer)
-
Method Details
-
formatRow
-
formatRow
- Throws:
IOException
-
formatRow
- Throws:
IOException
-
formatRows
public void formatRows(Iterable<? extends Iterable<String>> values, Writer writer) throws IOException - Throws:
IOException
-
formatRows
public void formatRows(Iterator<? extends Iterable<String>> values, Writer writer) throws IOException - Throws:
IOException
-
formatRows
-
csvFormatterOfFormat
-