@Test public void testDecodeQ() throws UnsupportedEncodingException { String s = DecoderUtil.decodeQ("=e1_=e2=09=E3_=E4_", "ISO8859-1", DecodeMonitor.STRICT); Assert.assertEquals("\u00e1 \u00e2\t\u00e3 \u00e4 ", s); }
static String decodeQ(String encodedText, String charset, DecodeMonitor monitor) throws UnsupportedEncodingException { encodedText = replaceUnderscores(encodedText); byte[] decodedBytes = decodeQuotedPrintable(encodedText, monitor); return new String(decodedBytes, charset); }
DecoderUtil { static String decodeQ(String encodedText, String charset, DecodeMonitor monitor) throws UnsupportedEncodingException { encodedText = replaceUnderscores(encodedText); byte[] decodedBytes = decodeQuotedPrintable(encodedText, monitor); return new String(decodedBytes, charset); } }
DecoderUtil { static String decodeQ(String encodedText, String charset, DecodeMonitor monitor) throws UnsupportedEncodingException { encodedText = replaceUnderscores(encodedText); byte[] decodedBytes = decodeQuotedPrintable(encodedText, monitor); return new String(decodedBytes, charset); }  }
DecoderUtil { static String decodeQ(String encodedText, String charset, DecodeMonitor monitor) throws UnsupportedEncodingException { encodedText = replaceUnderscores(encodedText); byte[] decodedBytes = decodeQuotedPrintable(encodedText, monitor); return new String(decodedBytes, charset); }  static String decodeEncodedWords(String body, DecodeMonitor monitor); static String decodeEncodedWords(String body, Charset fallback); static String decodeEncodedWords(String body, DecodeMonitor monitor, Charset fallback); }
DecoderUtil { static String decodeQ(String encodedText, String charset, DecodeMonitor monitor) throws UnsupportedEncodingException { encodedText = replaceUnderscores(encodedText); byte[] decodedBytes = decodeQuotedPrintable(encodedText, monitor); return new String(decodedBytes, charset); }  static String decodeEncodedWords(String body, DecodeMonitor monitor); static String decodeEncodedWords(String body, Charset fallback); static String decodeEncodedWords(String body, DecodeMonitor monitor, Charset fallback);  }