|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.ecf.core.util.Base64
public class Base64
Constructor Summary | |
---|---|
Base64()
|
Method Summary | |
---|---|
static byte[] |
decode(java.lang.String encoded)
|
static byte[] |
decodeFromCharArray(byte[] data)
This method decodes the byte array in base 64 encoding into a char array Base 64 encoding has to be according to the specification given by the RFC 1521 (5.2). |
static java.lang.String |
encode(byte[] bytes)
|
static byte[] |
encodeToCharArray(byte[] data)
This method encodes the byte array into a char array in base 64 according to the specification given by the RFC 1521 (5.2). |
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 byte[] decodeFromCharArray(byte[] data)
data
- the encoded byte array
public static byte[] encodeToCharArray(byte[] data)
data
- the encoded char array
public static java.lang.String encode(byte[] bytes)
public static byte[] decode(java.lang.String encoded)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |