|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.io.OutputStream
java.io.FilterOutputStream
gnu.mail.util.QPOutputStream
gnu.mail.util.QOutputStream
public class QOutputStream
Provides RFC 2047 "B" transfer decoding. See section 4.2:
The "Q" encoding is similar to the "Quoted-Printable" content- transfer-encoding defined in RFC 2045. It is designed to allow text containing mostly ASCII characters to be decipherable on an ASCII terminal without decoding.
| Field Summary |
|---|
| Fields inherited from class java.io.FilterOutputStream |
|---|
out |
| Constructor Summary | |
|---|---|
QOutputStream(java.io.OutputStream out,
boolean word)
Constructor. |
|
| Method Summary | |
|---|---|
static int |
encodedLength(byte[] bytes,
boolean word)
|
void |
write(int c)
Write a character to the stream. |
| Methods inherited from class gnu.mail.util.QPOutputStream |
|---|
close, flush, output, write, write |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public QOutputStream(java.io.OutputStream out,
boolean word)
word parameter is used to indicate whether the bytes
passed to this stream are considered to be RFC 822 "word" tokens or
"text" tokens.
out - the underlying output streamword - word mode if true, text mode otherwise| Method Detail |
|---|
public void write(int c)
throws java.io.IOException
write in class QPOutputStreamc - Byte to write to the stream
java.io.IOException - IO Exception occurred
public static int encodedLength(byte[] bytes,
boolean word)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||