nl.knowledgeplaza.util
Class ApacheCommonCodecUtil

java.lang.Object
  extended by nl.knowledgeplaza.util.ApacheCommonCodecUtil

public class ApacheCommonCodecUtil
extends Object


Constructor Summary
ApacheCommonCodecUtil()
           
 
Method Summary
static String printedQuotableDecode(String text)
          Detect any embedded Printed Quotable strings with encoding prefix and decode them.
static String printedQuotableDecode(String text, String encoding)
          Decode one piece of Printed Quotable text (without encoding)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApacheCommonCodecUtil

public ApacheCommonCodecUtil()
Method Detail

printedQuotableDecode

public static String printedQuotableDecode(String text)
Detect any embedded Printed Quotable strings with encoding prefix and decode them. For example: Warenausgang Höffner Marzahn für den Zeitraum 29.1=?iso-8859-1?Q?0=2E06_bis__5=2E11=2E06?=

Parameters:
text -
Returns:

printedQuotableDecode

public static String printedQuotableDecode(String text,
                                           String encoding)
Decode one piece of Printed Quotable text (without encoding)

Parameters:
text -
encoding -
Returns:


Copyright © 2011 KnowledgePlaza. All Rights Reserved.