sharpster.common
Class Base64

java.lang.Object
  |
  +--sharpster.common.Base64

public class Base64
extends java.lang.Object


Constructor Summary
Base64()
           
 
Method Summary
static byte[] decode(java.lang.String base64)
           
static java.lang.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 java.lang.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(java.lang.String base64)

getValue

protected static int getValue(char c)