gnu.mail.util
Class QPOutputStream
FilterOutputStream
gnu.mail.util.QPOutputStream
public class QPOutputStream
extends FilterOutputStream
Quoted Printable Encoding stream.
java.io.FilterOutputStream
QPOutputStream(OutputStream stream) - Create a new Quoted Printable Encoding stream with
the default 76 bytes per line.
|
QPOutputStream(OutputStream stream, int length) - Create a new Quoted Printable Encoding stream.
|
void | close() - Close stream.
|
void | flush() - Flush encoding buffer.
|
protected void | output(int b, boolean value) - ????
|
void | write(byte[] bytes) - Write bytes to stream.
|
void | write(byte[] bytes, int offset, int length) - Write bytes to encoding stream.
|
void | write(int b) - Write a byte to the stream.
|
QPOutputStream
public QPOutputStream(OutputStream stream)
Create a new Quoted Printable Encoding stream with
the default 76 bytes per line.
stream
- Output stream
QPOutputStream
public QPOutputStream(OutputStream stream,
int length)
Create a new Quoted Printable Encoding stream.
stream
- Output streamlength
- Number of bytes per line
close
public void close()
throws IOException
Close stream.
flush
public void flush()
throws IOException
Flush encoding buffer.
output
protected void output(int b,
boolean value)
throws IOException
????
b
- ??value
- ??
write
public void write(byte[] bytes)
throws IOException
Write bytes to stream.
bytes
- Byte array to write to stream
write
public void write(byte[] bytes,
int offset,
int length)
throws IOException
Write bytes to encoding stream.
bytes
- Byte array to read values fromoffset
- Offset to start reading bytes fromlength
- Number of bytes to read
write
public void write(int b)
throws IOException
Write a byte to the stream.
b
- Byte to write to the stream