java.lang.Object
de.siegmar.fastcsv.writer.CsvWriter.CsvWriterRecord
- Enclosing class:
CsvWriter
This class is used to write a record field by field.
The record is ended by calling endRecord()
.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionEnds the current record.writeField
(String value) Writes a field to the current record.
-
Field Details
-
fieldIdx
private int fieldIdx
-
-
Constructor Details
-
CsvWriterRecord
private CsvWriterRecord()
-
-
Method Details
-
writeField
Writes a field to the current record.- Parameters:
value
- the field value- Returns:
- this CsvWriterRecord instance
- Throws:
UncheckedIOException
- if a write-error occurs
-
endRecord
Ends the current record.- Returns:
- the enclosing CsvWriter instance
- Throws:
UncheckedIOException
- if a write-error occurs
-