com.sun.grid.jgdi.util
public class Base64 extends java.lang.Object
Constructor and Description |
---|
Base64() |
Modifier and Type | Method and Description |
---|---|
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[]).
|
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.Copyright © 2007 Sun Microsystems, Inc. All rights reserved.