|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
This class is a wrapper for whichever Base-64 encoder OGSA-DAI chooses to use.
| 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. |
| Method Detail |
public byte[] encode(byte[] bytes)
bytes - The source byte array to be encoded
public char[] encode(byte[] bytes,
int start,
int length)
bytes - 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)
bytes - The source byte array to be decoded
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||