java.io.Closeable, java.io.Flushable, java.lang.AutoCloseablepublic class SMTPOutputStream
extends com.sun.mail.util.CRLFOutputStream
CRLFOutputStream| Constructor | Description |
|---|---|
SMTPOutputStream(java.io.OutputStream os) |
| Modifier and Type | Method | 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) |
public void write(int b)
throws java.io.IOException
write in class com.sun.mail.util.CRLFOutputStreamjava.io.IOExceptionpublic void write(byte[] b,
int off,
int len)
throws java.io.IOException
write in class com.sun.mail.util.CRLFOutputStreamjava.io.IOExceptionpublic void flush()
flush in interface java.io.Flushableflush in class java.io.FilterOutputStreampublic void ensureAtBOL()
throws java.io.IOException
java.io.IOException - if the write fails