|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectSK.gnome.morena.BASE64
public final class BASE64
Provides BASE64 encoder/decoder.
| Constructor Summary | |
|---|---|
BASE64()
|
|
| Method Summary | |
|---|---|
static byte[] |
decode(java.lang.String s)
Converts the given BASE64 string to byte octets. |
static java.lang.String |
encode(byte[] b)
Converts the given octets to BASE64 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 java.lang.String encode(byte[] b)
The returned string is without any line termination and may exceed the common 76 characters length limit.
b - the byte octets
public static byte[] decode(java.lang.String s)
throws java.io.IOException
Any non-base64 characters are ignored in the input string.
s - the BASE64 encoded string
java.io.IOException - if a decoding error occurs
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||