org.openmobileis.common.util.codec
Class GeneralCoder
java.lang.Object
org.openmobileis.common.util.codec.GeneralCoder
- public class GeneralCoder
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GeneralCoder
public GeneralCoder()
decodeBase64
public static byte[] decodeBase64(byte[] inByte)
throws java.io.IOException
- Throws:
java.io.IOException
encodeBase64
public static byte[] encodeBase64(byte[] inByte)
throws java.io.IOException
- Throws:
java.io.IOException
decodeQuotedPrintable
public static java.lang.String decodeQuotedPrintable(java.lang.String data)
- return null if an error occurs.
encodeQuotedPrintable
public static java.lang.String encodeQuotedPrintable(java.lang.String data)
decoderfc2047
public static java.lang.String decoderfc2047(java.lang.String data)
- decode string encoded with RFC 2047. Mostly use for Mime message subject.
main
public static void main(java.lang.String[] args)
Copyright 2005 e-Care. All Rights Reserved.