org.makumba.commons
Class Base64

java.lang.Object
  extended by org.makumba.commons.Base64

public class Base64
extends Object


Constructor Summary
Base64()
           
 
Method Summary
static byte[] decode(String base64)
           
static String encode(byte[] raw)
           
protected static char[] encodeBlock(byte[] raw, int offset)
           
protected static char getChar(int sixBit)
           
protected static int getValue(char c)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Base64

public Base64()
Method Detail

encode

public static String encode(byte[] raw)

encodeBlock

protected static char[] encodeBlock(byte[] raw,
                                    int offset)

getChar

protected static char getChar(int sixBit)

decode

public static byte[] decode(String base64)

getValue

protected static int getValue(char c)