Top Description Fields Constructors Methods
de.siegmar.fastcsv.writer

pack-priv final Class UnbufferedWriter

extends FilterWriter
implements Writable
Class Inheritance
All Implemented Interfaces
de.siegmar.fastcsv.writer.Writable, java.io.Flushable, java.io.Closeable, java.lang.AutoCloseable
Imports
java.io.FilterWriter, .IOException, .Writer

Implementation of Writable that does not buffer any data but flushes the underlying writer at the end of each record if configured.

Field Summary

Modifier and TypeField and Description
private final boolean
Inherited from java.io.FilterWriter:
out

Constructor Summary

AccessConstructor and Description
pack-priv
UnbufferedWriter(final Writer out, final boolean autoFlushWriter)

Method Summary

Modifier and TypeMethod and Description
public void
endRecord()

Implements de.siegmar.fastcsv.writer.Writable.endRecord.

Called to indicate that the current record is complete.

Inherited from java.io.FilterWriter:
closeflushwritewritewrite

Field Detail

autoFlushWriterback to summary
private final boolean autoFlushWriter

Constructor Detail

UnbufferedWriterback to summary
pack-priv UnbufferedWriter(final Writer out, final boolean autoFlushWriter)

Method Detail

endRecordback to summary
public void endRecord() throws IOException

Implements de.siegmar.fastcsv.writer.Writable.endRecord.

Doc from de.siegmar.fastcsv.writer.Writable.endRecord.

Called to indicate that the current record is complete.

Annotations
@Override
Exceptions
IOException:
if an I/O error occurs