Class MimeUtility
java.lang.Object
com.vaadin.external.apache.commons.fileupload2.util.mime.MimeUtility
Utility class to decode MIME texts.
- Since:
- 1.3
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
decodeText
(String text) Decode a string of text obtained from a mail header into its proper form.
-
Method Details
-
decodeText
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.- Parameters:
text
- The text to decode.- Returns:
- The decoded text string.
- Throws:
UnsupportedEncodingException
- if the detected encoding in the input text is not supported.
-