|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.ispsoft.jaxme.util.Base64
Utility class which encapsulates Base64 encoding.
Constructor Summary | |
Base64()
|
Method Summary | |
static int |
compare(byte[] pArray1,
byte[] pArray2)
Compares the two byte arrays; utility method for use in a comparator. |
static byte[] |
decode(java.lang.String pStr)
Converts the Base64 encoded string into a byte array. |
static java.lang.String |
encode(byte[] pBytes)
Converts the byte array into a Base64 encoded string. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Base64()
Method Detail |
public static java.lang.String encode(byte[] pBytes)
Converts the byte array into a Base64 encoded string.
public static byte[] decode(java.lang.String pStr)
Converts the Base64 encoded string into a byte array.
java.lang.IllegalArgumentException
- The string pStr
did not
contain a valid base64 encoded byte array.public static int compare(byte[] pArray1, byte[] pArray2)
Compares the two byte arrays; utility method for use in a comparator.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |