Closeable
, Flushable
, AutoCloseable
SMTPOutputStream
public class CRLFOutputStream extends FilterOutputStream
Modifier and Type | Field | Description |
---|---|---|
protected boolean |
atBOL |
|
protected int |
lastb |
out
Constructor | Description |
---|---|
CRLFOutputStream(OutputStream os) |
Modifier and Type | Method | Description |
---|---|---|
void |
write(byte[] b) |
|
void |
write(byte[] b,
int off,
int len) |
|
void |
write(int b) |
|
void |
writeln() |
close, flush
public CRLFOutputStream(OutputStream os)
public void write(int b) throws IOException
write
in class FilterOutputStream
IOException
public void write(byte[] b) throws IOException
write
in class FilterOutputStream
IOException
public void write(byte[] b, int off, int len) throws IOException
write
in class FilterOutputStream
IOException
public void writeln() throws IOException
IOException
Copyright © 2018 Oracle. All rights reserved.