|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.io.OutputStream
to.etc.smtp.QuotedPrintableOutputStream
public class QuotedPrintableOutputStream
This is a wrapper for email-data streams. It should encapsulate the primary data stream sent as the content of the DATA command to the mail server. It ensures that data sent to the mail server does not start with a single '.' by adding another dot to all lines starting with it. In addition it handles line length encapsulation by splitting up lines that are longer than 76 characters in soft-quoted lines. Email is hell.
Constructor Summary | |
---|---|
QuotedPrintableOutputStream(java.io.OutputStream os)
|
Method Summary | |
---|---|
void |
write(int b)
|
Methods inherited from class java.io.OutputStream |
---|
close, flush, write, write |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public QuotedPrintableOutputStream(java.io.OutputStream os)
Method Detail |
---|
public void write(int b) throws java.io.IOException
write
in class java.io.OutputStream
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |