public class QOutputStream extends QPOutputStream
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.
|Constructor and Description|
|Modifier and Type||Method and Description|
Write a character to the stream.
public QOutputStream(java.io.OutputStream out, boolean word)
wordparameter 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 stream
word- word mode if true, text mode otherwise
public void write(int c) throws java.io.IOException
public static int encodedLength(byte bytes, boolean word)