| Modifier and Type | Field and Description |
|---|---|
| private static final String | BASE64_ENCODING_MARKER
The marker to indicate text is encoded with BASE64 algorithm. |
| private static final String | ENCODED_TOKEN_FINISHER
If the text contains any encoded tokens, those tokens will terminate with "=?". |
| private static final String | ENCODED_TOKEN_MARKER
If the text contains any encoded tokens, those tokens will be marked with "=?". |
| private static final String | LINEAR_WHITESPACE
The linear whitespace chars sequence. |
| private static final Map | MIME2JAVA
Mappings between MIME and Java charset. |
| private static final String | QUOTEDPRINTABLE_ENCODING_MARKER
The marker to indicate text is encoded with QuotedPrintable algorithm. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static String | Returns: The decoded text string.The text to decode. text)Decode a string of text obtained from a mail header into its proper form. |
| private static String | Returns: The decoded word.The possibly encoded word value. word)Parse a string using the RFC 2047 rules for an "encoded-word" type. |
| private static String | Returns: The Java equivalent for this name.The MIME standard name. charset)Translate a MIME standard character set name into the Java equivalent. |
| BASE64_ENCODING_MARKER | back to summary |
|---|---|
| private static final String BASE64_ENCODING_MARKER The marker to indicate text is encoded with BASE64 algorithm. | |
| ENCODED_TOKEN_FINISHER | back to summary |
|---|---|
| private static final String ENCODED_TOKEN_FINISHER If the text contains any encoded tokens, those tokens will terminate with "=?". | |
| ENCODED_TOKEN_MARKER | back to summary |
|---|---|
| private static final String ENCODED_TOKEN_MARKER If the text contains any encoded tokens, those tokens will be marked with "=?". | |
| LINEAR_WHITESPACE | back to summary |
|---|---|
| private static final String LINEAR_WHITESPACE The linear whitespace chars sequence. | |
| MIME2JAVA | back to summary |
|---|---|
| private static final Map<String, String> MIME2JAVA Mappings between MIME and Java charset. | |
| QUOTEDPRINTABLE_ENCODING_MARKER | back to summary |
|---|---|
| private static final String QUOTEDPRINTABLE_ENCODING_MARKER The marker to indicate text is encoded with QuotedPrintable algorithm. | |
| MimeUtility | back to summary |
|---|---|
| private MimeUtility() Hidden constructor, this class must not be instantiated. | |
| decodeText | back to summary |
|---|---|
| public static String decodeText(final String text) throws UnsupportedEncodingException Decode a string of text obtained from a mail header into its proper form. The text generally will consist of a string of tokens, some of which may be encoded using base64 encoding.
| |
| decodeWord | back to summary |
|---|---|
| private static String decodeWord(final String word) throws ParseException, UnsupportedEncodingException Parse a string using the RFC 2047 rules for an "encoded-word" type. This encoding has the syntax: encoded-word = "=?" charset "?" encoding "?" encoded-text "?="
| |
| javaCharset | back to summary |
|---|---|
| private static String javaCharset(final String charset) Translate a MIME standard character set name into the Java equivalent. | |