decode
public static InputStream decode(InputStream in,
String encoding)
throws MessagingException
decodeText
public static String decodeText(String word)
throws UnsupportedEncodingException
decodeWord
public static String decodeWord(String word)
throws ParseException,
UnsupportedEncodingException
encode
public static OutputStream encode(OutputStream out,
String encoding)
throws MessagingException
encode
public static OutputStream encode(OutputStream out,
String encoding,
String filename)
throws MessagingException
encodeText
public static String encodeText(String word)
throws UnsupportedEncodingException
encodeText
public static String encodeText(String word,
String characterset,
String encoding)
throws UnsupportedEncodingException
encodeWord
public static String encodeWord(String word)
throws UnsupportedEncodingException
encodeWord
public static String encodeWord(String word,
String characteset,
String encoding)
throws UnsupportedEncodingException
getDefaultJavaCharset
public static String getDefaultJavaCharset()
getEncoding
public static String getEncoding(DataHandler handler)
getEncoding
public static String getEncoding(DataSource source)
javaCharset
public static String javaCharset(String charset)
mimeCharset
public static String mimeCharset(String charset)
quote
public static String quote(String word,
String specials)