|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.gridsystems.Base64Utils
public final class Base64Utils
Common methods used within both the encoder and the decoder classes.
Method Summary | |
---|---|
static byte[] |
toByteArray(java.lang.String s)
Returns a byte array representing the contents of the given string, applying a UTF-8 encoding. |
static java.lang.String |
toString(byte[] bytes)
Returns a String representing the contents of the given byte array, applying a UTF-8 decoding. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static byte[] toByteArray(java.lang.String s)
s
- the string for which we want to obtain its internal byte array
public static java.lang.String toString(byte[] bytes)
bytes
- the string in byte array format
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |