public class SMTPOutputStream
extends com.sun.mail.util.CRLFOutputStream
CRLFOutputStreamout| Constructor and Description |
|---|
SMTPOutputStream(OutputStream os) |
| Modifier and Type | Method and Description |
|---|---|
void |
ensureAtBOL()
Ensure we're at the beginning of a line.
|
void |
flush()
Override flush method in FilterOutputStream.
|
void |
write(byte[] b,
int off,
int len) |
void |
write(int b) |
closepublic SMTPOutputStream(OutputStream os)
public void write(int b)
throws IOException
write in class com.sun.mail.util.CRLFOutputStreamIOExceptionpublic void write(byte[] b,
int off,
int len)
throws IOException
write in class com.sun.mail.util.CRLFOutputStreamIOExceptionpublic void flush()
flush in interface Flushableflush in class FilterOutputStreampublic void ensureAtBOL()
throws IOException
IOException - if the write failsCopyright © 2015 Oracle. All rights reserved.