Package edu.rit.io

Class LineBufferedOutputStream

All Implemented Interfaces:
Closeable, Flushable, AutoCloseable

public class LineBufferedOutputStream extends FilterOutputStream
Class LineBufferedOutputStream provides a line buffer layered on top of an underlying output stream. All writes to the line buffered output stream are accumulated in an internal buffer. Calling flush() on the line buffered output stream does nothing. The only times the internal buffer is flushed to the underlying output stream are when a newline byte ('\n') is written and when the line buffered output stream is closed.
Version:
19-Oct-2006
Author:
Alan Kaminsky