public class Base64
extends Object
Constructor and Description |
---|
Base64() |
Modifier and Type | Method and Description |
---|---|
static byte[] |
decode(String base64) |
static byte[] |
decodeFromURL(String base64) |
static String |
encode(byte[] raw) |
static String |
encode(byte[] raw,
int offset,
int length)
Deprecated.
As of Judson (7.1.x), with no direct replacement
|
protected static char[] |
encodeBlock(byte[] raw,
int offset,
int lastIndex)
Deprecated.
As of Judson (7.1.x), with no direct replacement
|
static String |
encodeToURL(byte[] raw) |
static String |
fromURLSafe(String base64)
Deprecated.
As of Judson (7.1.x), replaced by
##decodeFromURL(String) |
protected static char |
getChar(int sixbit)
Deprecated.
As of Judson (7.1.x), with no direct replacement
|
protected static int |
getValue(char c)
Deprecated.
As of Judson (7.1.x), with no direct replacement
|
static String |
objectToString(Object o) |
static Object |
stringToObject(String s) |
static Object |
stringToObject(String s,
ClassLoader classLoader) |
static Object |
stringToObjectSilent(String s) |
static Object |
stringToObjectSilent(String s,
ClassLoader classLoader)
Deprecated.
As of Judson (7.1.x), with no direct replacement
|
static String |
toURLSafe(String base64)
Deprecated.
As of Judson (7.1.x), replaced by
encodeToURL(byte[]) |
public static byte[] decode(String base64)
public static byte[] decodeFromURL(String base64)
public static String encode(byte[] raw)
@Deprecated public static String encode(byte[] raw, int offset, int length)
public static String encodeToURL(byte[] raw)
@Deprecated public static String fromURLSafe(String base64)
##decodeFromURL(String)
public static String objectToString(Object o)
public static Object stringToObject(String s)
public static Object stringToObject(String s, ClassLoader classLoader)
public static Object stringToObjectSilent(String s)
@Deprecated public static Object stringToObjectSilent(String s, ClassLoader classLoader)
@Deprecated public static String toURLSafe(String base64)
encodeToURL(byte[])
@Deprecated protected static char[] encodeBlock(byte[] raw, int offset, int lastIndex)
@Deprecated protected static char getChar(int sixbit)
@Deprecated protected static int getValue(char c)