- java.lang.Object
-
- java.io.Writer
-
- java.io.FilterWriter
-
- de.siegmar.fastcsv.writer.UnbufferedWriter
-
- All Implemented Interfaces:
Writable
,java.io.Closeable
,java.io.Flushable
,java.lang.Appendable
,java.lang.AutoCloseable
final class UnbufferedWriter extends java.io.FilterWriter implements Writable
Implementation ofWritable
that does not buffer any data but flushes the underlying writer at the end of each record if configured.
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
autoFlushWriter
-
Constructor Summary
Constructors Constructor Description UnbufferedWriter(java.io.Writer out, boolean autoFlushWriter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
endRecord()
Called to indicate that the current record is complete.
-