public class QuotedPrintableEncoderStream extends FilterOutputStream
Modifier and Type | Field and Description |
---|---|
protected static int |
DEFAULT_LINEBREAK |
protected QuotedPrintableEncoder |
encoder |
protected int |
lineBreak |
out
Constructor and Description |
---|
QuotedPrintableEncoderStream(OutputStream out)
Create a Base64 encoder stream that wraps a specifed stream
using the default line break size.
|
QuotedPrintableEncoderStream(OutputStream out,
int lineBreak) |
protected QuotedPrintableEncoder encoder
protected static final int DEFAULT_LINEBREAK
protected int lineBreak
public QuotedPrintableEncoderStream(OutputStream out)
out
- The wrapped output stream.public QuotedPrintableEncoderStream(OutputStream out, int lineBreak)
public void write(int ch) throws IOException
write
in class FilterOutputStream
IOException
public void write(byte[] data) throws IOException
write
in class FilterOutputStream
IOException
public void write(byte[] data, int offset, int length) throws IOException
write
in class FilterOutputStream
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class FilterOutputStream
IOException
public void flush() throws IOException
flush
in interface Flushable
flush
in class FilterOutputStream
IOException
Copyright © 2013. All Rights Reserved.