Liferay 6.0.5

com.liferay.portal.kernel.util
Class Base64

java.lang.Object
  extended by com.liferay.portal.kernel.util.Base64

public class Base64
extends Object


Constructor Summary
Base64()
           
 
Method Summary
static byte[] decode(String base64)
           
static String encode(byte[] raw)
           
static String encode(byte[] raw, int offset, int length)
           
protected static char[] encodeBlock(byte[] raw, int offset, int lastIndex)
           
protected static char getChar(int sixbit)
           
protected static int getValue(char c)
           
static String objectToString(Object o)
           
static Object stringToObject(String s)
           
static Object stringToObject(String s, ClassLoader classLoader)
           
 
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

getChar

protected static char getChar(int sixbit)

getValue

protected static int getValue(char c)

encode

public static String encode(byte[] raw)

encode

public static String encode(byte[] raw,
                            int offset,
                            int length)

encodeBlock

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

decode

public static byte[] decode(String base64)

objectToString

public static String objectToString(Object o)

stringToObject

public static Object stringToObject(String s)

stringToObject

public static Object stringToObject(String s,
                                    ClassLoader classLoader)

Liferay 6.0.5