|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.grid.jgdi.util.Base64
public class Base64
Constructor Summary | |
---|---|
Base64()
|
Method Summary | |
---|---|
static byte[] |
decode(java.lang.String s)
Translates the specified Base64 string (as per Preferences.get(byte[])) into a byte array. |
static java.lang.String |
encode(byte[] a)
Translates the specified byte array into a Base64 string as per Preferences.put(byte[]). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Base64()
Method Detail |
---|
public static java.lang.String encode(byte[] a)
public static byte[] decode(java.lang.String s)
java.lang.IllegalArgumentException
- if s is not a valid Base64
string.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |