类 DecoderUtil

java.lang.Object
com.sh.mail.mime4j.codec.DecoderUtil

public class DecoderUtil extends Object

Description:

Title:首亨软件 - TSS/CRM等

从以下版本开始:
Aug 16, 2012
  • 构造器详细资料

    • 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 decode
      monitor - the DecodeMonitor to be used.
      返回:
      the decoded string.
      抛出:
      IllegalArgumentException - only if the DecodeMonitor strategy throws it (Strict parsing)