Package i2p.susi.webmail.encoding
Class QuotedPrintable
java.lang.Object
i2p.susi.webmail.encoding.Encoding
i2p.susi.webmail.encoding.QuotedPrintable
ref: https://en.wikipedia.org/wiki/Quoted-printable
- Author:
- susi
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddecode(InputStream in, Buffer bout) encode(byte[] in) Encode a byte array to a ASCII or ISO-8859-1 String.voidencode(InputStream in, Writer out) More efficient than supergetName()
-
Constructor Details
-
QuotedPrintable
public QuotedPrintable()
-
-
Method Details
-
getName
-
encode
Description copied from class:EncodingEncode a byte array to a ASCII or ISO-8859-1 String. Output must be SMTP-safe: Line length of 998 or less, using SMTP-safe characters, followed by \r\n, and must not start with a '.' unless escaped by a 2nd dot. For some encodings, max line length is 76.- Specified by:
encodein classEncoding- Parameters:
in-- Returns:
- Encoded string.
- Throws:
EncodingException
-
encode
More efficient than super- Overrides:
encodein classEncoding- Parameters:
in-- Throws:
IOException- Since:
- since 0.9.33
- See Also:
-
decode
- Specified by:
decodein classEncoding- Parameters:
in-- Throws:
IOException- Since:
- 0.9.34
- See Also:
-