| Modifier and Type | Field and Description |
|---|---|
| private String | |
| private static String | |
| private static String |
| Access | Constructor and Description |
|---|---|
| public | QEncoderStream(OutputStream
the output stream out, boolean true if we are Q-encoding a word within a
phrase. encodingWord)Create a Q encoder that encodes the specified input stream |
| Modifier and Type | Method and Description |
|---|---|
| public static int | Returns: the lengththe byte array b, boolean true if encoding words, false if encoding text encodingWord)Returns the length of the encoded version of this byte array. |
| public void | write(int
the c)byte.Overrides com. byte to this output stream.
|
| specials | back to summary |
|---|---|
| private String specials | |
| TEXT_SPECIALS | back to summary |
|---|---|
| private static String TEXT_SPECIALS | |
| WORD_SPECIALS | back to summary |
|---|---|
| private static String WORD_SPECIALS | |
| QEncoderStream | back to summary |
|---|---|
| public QEncoderStream(OutputStream out, boolean encodingWord) Create a Q encoder that encodes the specified input stream
| |
| encodedLength | back to summary |
|---|---|
| public static int encodedLength(byte[] b, boolean encodingWord) Returns the length of the encoded version of this byte array.
| |
| write | back to summary |
|---|---|
| public void write(int c) throws IOException Overrides com. Encodes the specified
| |