|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.infoengine.util.Base64
public class Base64
Utility class providing static methods for encoding and decoding data using the Base64 algorithm specified in Internet Standard RFC2045.
| Constructor Summary | |
|---|---|
Base64()
|
|
| Method Summary | |
|---|---|
static byte[] |
decode(byte[] encoded)
Decode a Base64-encoded byte array containing single-byte characters from the Base64 alphabet. |
static byte[] |
decode(byte[] encoded,
int offset,
int len)
Decode a subset of a Base64-encoded byte array containing single-byte characters from the Base64 alphabet. |
static java.lang.String |
decode(java.lang.String base64str)
Decode a Base64-encoded string. |
static byte[] |
encode(byte[] bytes)
Base64-encode an array of bytes. |
static java.lang.String |
encode(java.lang.String str)
Base64-encode a string. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Base64()
| Method Detail |
|---|
public static final java.lang.String decode(java.lang.String base64str)
base64str - The Base64-encoded string.
public static final byte[] decode(byte[] encoded)
encoded - The Base64-encoded array of single-byte characters.
public static final byte[] decode(byte[] encoded,
int offset,
int len)
encoded - The Base64-encoded array of single-byte characters.offset - The index of the first character to be decoded.len - The number of characters to be decoded.
public static final byte[] encode(byte[] bytes)
bytes - The array of bytes to be encoded.
public static final java.lang.String encode(java.lang.String str)
str - The string to be encoded.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||