Class MimeUtility
- java.lang.Object
- 
- org.apache.tomcat.util.http.fileupload.util.mime.MimeUtility
 
- 
 public final class MimeUtility extends java.lang.ObjectUtility class to decode MIME texts.- Since:
- 1.3
 
- 
- 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.StringdecodeText(java.lang.String text)Decode a string of text obtained from a mail header into its proper form.
 
- 
- 
- 
Method Detail- 
decodeTextpublic static java.lang.String decodeText(java.lang.String text) throws java.io.UnsupportedEncodingExceptionDecode 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:
- java.io.UnsupportedEncodingException- if the detected encoding in the input text is not supported.
 
 
- 
 
-