|
Last update: 2011-06-23 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.proteios.core.Base64Coder
public class Base64Coder
| Constructor Summary | |
|---|---|
Base64Coder()
|
|
| Method Summary | |
|---|---|
static byte[] |
decode(char[] in)
Decodes Base64 data. |
static String |
decode(String s)
Decodes a Base64 string. |
static char[] |
encode(byte[] in)
Encodes a byte array into Base64 format. |
static String |
encode(String s)
Encodes a string into Base64 format. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Base64Coder()
| Method Detail |
|---|
public static String encode(String s)
s - a String to be encoded.
public static char[] encode(byte[] in)
in - an array containing the data bytes to be encoded.
public static String decode(String s)
s - a Base64 String to be decoded.
IllegalArgumentException - if the input is not valid Base64 encoded data.public static byte[] decode(char[] in)
in - a character array containing the Base64 encoded data.
IllegalArgumentException - if the input is not valid Base64 encoded data.
|
Last update: 2011-06-23 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||