public class QPOutputStream
extends java.io.FilterOutputStream
FilterOutputStream| Constructor and Description |
|---|
QPOutputStream(java.io.OutputStream stream)
Create a new Quoted Printable Encoding stream with
the default 76 bytes per line.
|
QPOutputStream(java.io.OutputStream stream,
int length)
Create a new Quoted Printable Encoding stream.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
public QPOutputStream(java.io.OutputStream stream,
int length)
stream - Output streamlength - Number of bytes per linepublic QPOutputStream(java.io.OutputStream stream)
stream - Output streampublic void flush()
throws java.io.IOException
flush in interface java.io.Flushableflush in class java.io.FilterOutputStreamjava.io.IOException - IO Exception occurredpublic void write(byte[] bytes,
int offset,
int length)
throws java.io.IOException
write in class java.io.FilterOutputStreambytes - Byte array to read values fromoffset - Offset to start reading bytes fromlength - Number of bytes to readjava.io.IOException - IO Exception occurredpublic void write(byte[] bytes)
throws java.io.IOException
write in class java.io.FilterOutputStreambytes - Byte array to write to streamjava.io.IOException - IO Exception occurredpublic void write(int b)
throws java.io.IOException
write in class java.io.FilterOutputStreamb - Byte to write to the streamjava.io.IOException - IO Exception occurredpublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.FilterOutputStreamjava.io.IOException - IO Exception occurredprotected void output(int b,
boolean value)
throws java.io.IOException
b - ??value - ??java.io.IOException - IO Exception occurred