public class SMTPOutputStream extends CRLFOutputStream
CRLFOutputStream
atBOL, lastb
out
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, writeln
close
public SMTPOutputStream(OutputStream os)
public void write(int b) throws IOException
write
in class CRLFOutputStream
IOException
public void write(byte[] b, int off, int len) throws IOException
write
in class CRLFOutputStream
IOException
public void flush()
flush
in interface Flushable
flush
in class FilterOutputStream
public void ensureAtBOL() throws IOException
IOException
- if the write failsCopyright © 2017 JBoss by Red Hat. All rights reserved.