org.apache.abdera.i18n.text
Class Rfc2047Helper

java.lang.Object
  extended by org.apache.abdera.i18n.text.Rfc2047Helper

public class Rfc2047Helper
extends Object


Nested Class Summary
static class Rfc2047Helper.Codec
           
 
Field Summary
static String DEFAULT_CHARSET
           
 
Constructor Summary
Rfc2047Helper()
           
 
Method Summary
static String decode(String value)
          Used to decode a string as specified by RFC 2047
static String encode(String value)
           
static String encode(String value, String charset)
           
static String encode(String value, String charset, Rfc2047Helper.Codec codec)
          Used to encode a string as specified by RFC 2047
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_CHARSET

public static final String DEFAULT_CHARSET
See Also:
Constant Field Values
Constructor Detail

Rfc2047Helper

public Rfc2047Helper()
Method Detail

encode

public static String encode(String value)

encode

public static String encode(String value,
                            String charset)

encode

public static String encode(String value,
                            String charset,
                            Rfc2047Helper.Codec codec)
Used to encode a string as specified by RFC 2047

Parameters:
value - The string to encode
charset - The character set to use for the encoding

decode

public static String decode(String value)
Used to decode a string as specified by RFC 2047

Parameters:
value - The encoded string


Copyright © 2006-2010 Apache Software Foundation. All Rights Reserved.