- encodeText
Encode a RFC 822 "text" token into mail-safe form as per RFC 2047. The given
Unicode string is exam
- decodeText
Decode "unstructured" headers, that is, headers that are defined as '*text' as
per RFC 822. The str
- encode
Wrap an encoder around the given output stream. All the encodings defined in RFC
2045 are supported
- decode
Decode the given input stream. The Input stream returned is the decoded input
stream. All the encodi
- unfold
Unfold a folded header. Any line breaks that aren't escaped and are followed by
whitespace are remov
- fold
Fold a string at linear whitespace so that each line is no longer than 76
characters, if possible. I
- encodeWord
- javaCharset
Convert a MIME charset name into a valid Java charset name.
- mimeCharset
Convert a java charset into its MIME charset name. Note that a future version
of JDK (post 1.2) mig
- getEncoding
Get the content-transfer-encoding that should be applied to the input stream of
this datasource, to
- decodeWord
The string is parsed using the rules in RFC 2047 for parsing an "encoded-word".
If the parse fails,
- getDefaultMIMECharset
Get the default character set to use, in MIME name format. This either be the
value set with the mai