public class SMTPOutputStream extends CRLFOutputStream
CRLFOutputStream
Constructor and Description |
---|
SMTPOutputStream(java.io.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
public void write(int b) throws java.io.IOException
write
in class CRLFOutputStream
java.io.IOException
public void write(byte[] b, int off, int len) throws java.io.IOException
write
in class CRLFOutputStream
java.io.IOException
public void flush()
flush
in interface java.io.Flushable
flush
in class java.io.FilterOutputStream
public void ensureAtBOL() throws java.io.IOException
java.io.IOException
- if the write failsCopyright © 2010 - 2020 Adobe. All Rights Reserved