public class SMTPOutputStream extends CRLFOutputStream
CRLFOutputStreamatBOL, lastbout| 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) |
write, writelnclosepublic SMTPOutputStream(OutputStream os)
public void write(int b)
throws IOException
write in class CRLFOutputStreamIOExceptionpublic void write(byte[] b,
int off,
int len)
throws IOException
write in class CRLFOutputStreamIOExceptionpublic void flush()
flush in interface Flushableflush in class FilterOutputStreampublic void ensureAtBOL()
throws IOException
IOException - if the write failsCopyright © 2017 JBoss by Red Hat. All rights reserved.