|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ning.http.util.Base64
public final class Base64
Implements the "base64" binary encoding scheme as defined by RFC 2045. Portions of code here are taken from Apache Pivot
Method Summary | |
---|---|
static byte[] |
decode(String encoded)
Decodes the specified base64 string back into its raw data. |
static String |
encode(byte[] bytes)
Encodes the specified data into a base64 string. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static String encode(byte[] bytes)
bytes
- The unencoded raw data.public static byte[] decode(String encoded)
encoded
- The base64 encoded string.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |