|
02/28/2005 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.epicentric.common.Base64Utils
Utility methods to convert to and from Base 64 encoding.
The implementation comes from the Bond Project at Purdue University.
| Constructor Summary | |
Base64Utils()
Deprecated. |
|
| Method Summary | |
static String |
decode(String encodedString)
Deprecated. as of 4.5, to be removed in 8.0 or later. Replaced with Base64Utils.decode(String). |
static byte[] |
decodeGetBytes(String base64)
Deprecated. as of 4.5, to be removed in 8.0 or later. Replaced with Base64Utils.decodeGetBytes(String). |
static String |
encode(byte[] raw)
Deprecated. as of 4.5, to be removed in 8.0 or later. Replaced with Base64Utils.encode(byte[]). |
static String |
encode(String target)
Deprecated. as of 4.5, to be removed in 8.0 or later. Replaced with Base64Utils.encode(String). |
protected static char[] |
encodeBlock(byte[] raw,
int offset)
Deprecated. |
protected static char |
getChar(int sixbit)
Deprecated. |
protected static int |
getValue(char c)
Deprecated. |
static Object |
String2Object(String s)
Deprecated. as of 4.5, to be removed in 8.0 or later. No replacement. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Base64Utils()
| Method Detail |
public static String encode(String target)
Base64Utils.encode(String).
target - String to be encodedpublic static String decode(String encodedString)
Base64Utils.decode(String).
encodedString - String to be decodedpublic static String encode(byte[] raw)
Base64Utils.encode(byte[]).
raw - Byte array to be encoded
protected static char[] encodeBlock(byte[] raw,
int offset)
protected static char getChar(int sixbit)
public static byte[] decodeGetBytes(String base64)
Base64Utils.decodeGetBytes(String).
base64 - Byte array to be decodedprotected static int getValue(char c)
public static Object String2Object(String s)
s - Base 64-encoded string of the byte array representing
a serialized object
|
02/28/2005 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||