public class QuotedPrintable extends Encoding
| Constructor and Description |
|---|
QuotedPrintable() |
| Modifier and Type | Method and Description |
|---|---|
void | decode(InputStream in,
Buffer bout)Decode an input stream into a buffer. |
String | encode(byte[] in)Encode a byte array to a ASCII or ISO-8859-1 String. |
void | encode(InputStream in,
Writer out)More efficient than super |
String | getName()Returns the name of this encoding. |
public void decode(InputStream in, Buffer bout) throws IOException
Encodingdecode in class Encodingin - the input stream to read data frombout - the buffer to write decoded data toDecodingException - if decoding failsIOException - if reading from input stream failsEncoding.decode(byte[], int, int)public String encode(byte[] in) throws EncodingException
Encodingencode in class Encodingin - the byte array to encodeEncodingException - if encoding failspublic void encode(InputStream in, Writer out) throws IOException
encode in class Encodingin -out - the writer to write encoded output toIOException - if reading from stream or writing failsEncoding.encode(String)