|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.abstracthorizon.danube.http.util.Base64
public class Base64
This class encodes and decodes strings from/to Base64
Field Summary | |
---|---|
protected static int[] |
eightToSix
Cached decoding int array |
protected static char[] |
sixToEight
Cached encoding char array |
Constructor Summary | |
---|---|
Base64()
|
Method Summary | |
---|---|
static String |
decode(String s)
This method decodes given string |
static String |
encode(String s)
This method encodes given string |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static char[] sixToEight
protected static int[] eightToSix
Constructor Detail |
---|
public Base64()
Method Detail |
---|
public static String encode(String s)
s
- string to be encoded
public static String decode(String s)
s
- string to be decoded
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |