|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--uk.org.ogsadai.common.wsrf.Base64
This class is a wrapper for whichever Base-64 encoder OGSA-DAI chooses to use.
| Constructor Summary | |
Base64()
|
|
| Method Summary | |
byte[] |
decode(byte[] bytes)
Base64 decodes a byte array. |
byte[] |
encode(byte[] bytes)
Base64 encodes a byte array. |
char[] |
encode(byte[] bytes,
int start,
int length)
Base64 encodes part of a byte array to a char array. |
| 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 byte[] encode(byte[] bytes)
encode in interface Base64bytes - The source byte array to be encoded
public char[] encode(byte[] bytes,
int start,
int length)
encode in interface Base64bytes - The source byte array from which data should be encodedstart - The offset within the array to begin encodinglength - The length of bytes from the offset to encode
char array containing the bae-64 encoded bytespublic byte[] decode(byte[] bytes)
decode in interface Base64bytes - The source byte array to be decoded
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||