|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbiweekly.util.Base64
public class Base64
Encodes and decodes data into base64.
Method Summary | |
---|---|
static byte[] |
decode(String s)
Translates the specified Base64 string into a byte array. |
static String |
encode(byte[] buf)
Translates the specified byte array into 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[] buf)
buf
- the byte array
public static byte[] decode(String s)
s
- the Base64 string
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |