类 DecoderUtil
java.lang.Object
com.sh.mail.mime4j.codec.DecoderUtil
Description:
Title:首亨软件 - TSS/CRM等
- 从以下版本开始:
- Aug 16, 2012
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static StringdecodeEncodedWords(String body, DecodeMonitor monitor) Decodes a string containing encoded words as defined by RFC 2047.
-
构造器详细资料
-
DecoderUtil
public DecoderUtil()
-
-
方法详细资料
-
decodeEncodedWords
public static String decodeEncodedWords(String body, DecodeMonitor monitor) throws IllegalArgumentException Decodes a string containing encoded words as defined by RFC 2047. Encoded words have the form =?charset?enc?encoded-text?= where enc is either 'Q' or 'q' for quoted-printable and 'B' or 'b' for base64.- 参数:
body- the string to decodemonitor- the DecodeMonitor to be used.- 返回:
- the decoded string.
- 抛出:
IllegalArgumentException- only if the DecodeMonitor strategy throws it (Strict parsing)
-