| |
|
| java.lang.Object java.util.prefs.Base64
Base64 | class Base64 (Code) | | Static methods for translating Base64 encoded strings to byte arrays
and vice-versa.
author: Josh Bloch version: 1.13, 05/05/07 See Also: Preferences since: 1.4 |
Method Summary | |
static byte[] | altBase64ToByteArray(String s) Translates the specified "alternate representation" Base64 string
into a byte array. | static byte[] | base64ToByteArray(String s) Translates the specified Base64 string (as per Preferences.get(byte[]))
into a byte array. | static String | byteArrayToAltBase64(byte[] a) Translates the specified byte array into an "alternate representation"
Base64 string. | static String | byteArrayToBase64(byte[] a) Translates the specified byte array into a Base64 string as per
Preferences.put(byte[]). | public static void | main(String args) |
altBase64ToByteArray | static byte[] altBase64ToByteArray(String s)(Code) | | Translates the specified "alternate representation" Base64 string
into a byte array.
|
base64ToByteArray | static byte[] base64ToByteArray(String s)(Code) | | Translates the specified Base64 string (as per Preferences.get(byte[]))
into a byte array.
|
byteArrayToAltBase64 | static String byteArrayToAltBase64(byte[] a)(Code) | | Translates the specified byte array into an "alternate representation"
Base64 string. This non-standard variant uses an alphabet that does
not contain the uppercase alphabetic characters, which makes it
suitable for use in situations where case-folding occurs.
|
byteArrayToBase64 | static String byteArrayToBase64(byte[] a)(Code) | | Translates the specified byte array into a Base64 string as per
Preferences.put(byte[]).
|
|
|
|