Class com.tdac.mail.LineOutputStream
All Packages Class Hierarchy This Package Previous Next Index
Class com.tdac.mail.LineOutputStream
java.lang.Object
|
+----java.io.OutputStream
|
+----java.io.FilterOutputStream
|
+----java.io.BufferedOutputStream
|
+----com.tdac.mail.LineOutputStream
- public class LineOutputStream
- extends BufferedOutputStream
This class is used to perform 'line' based buffered output
to a buffered stream.
- Version:
- 1.0, 11/11/96
- Author:
- Timothy D. A. Cox
-
LineOutputStream(OutputStream)
- Construct a new object from an OutputStream
-
writeLine(String)
- Write a line of data to the stream, appending on a CRLF pair
LineOutputStream
public LineOutputStream(OutputStream os)
- Construct a new object from an OutputStream
- Parameters:
- os - the OutputStream to buffer
writeLine
public String writeLine(String str) throws IOException
- Write a line of data to the stream, appending on a CRLF pair
- Parameters:
- str - data to be written
All Packages Class Hierarchy This Package Previous Next Index