Class LineOutputStream

All Implemented Interfaces:
LineOutputStream, Closeable, Flushable, AutoCloseable

public class LineOutputStream extends FilterOutputStream implements LineOutputStream
This class is to support writing out Strings as a sequence of bytes terminated by a CRLF sequence. The String must contain only US-ASCII characters.

The expected use is to write out RFC822 style headers to an output stream.

Author:
John Mani, Bill Shannon