org.openmobileis.common.util.codec
Class GeneralCoder

java.lang.Object
  extended byorg.openmobileis.common.util.codec.GeneralCoder

public class GeneralCoder
extends java.lang.Object


Constructor Summary
GeneralCoder()
           
 
Method Summary
static byte[] decodeBase64(byte[] inByte)
           
static java.lang.String decodeQuotedPrintable(java.lang.String data)
          return null if an error occurs.
static java.lang.String decoderfc2047(java.lang.String data)
          decode string encoded with RFC 2047.
static byte[] encodeBase64(byte[] inByte)
           
static java.lang.String encodeQuotedPrintable(java.lang.String data)
           
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeneralCoder

public GeneralCoder()
Method Detail

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 2006 OpenMobileIS. All Rights Reserved.