|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.aselect.system.utils.Base64
public class Base64
RFC 2045 compliant Base64 Codec.
Description:
This class implements a Base64 codec engine according to RFC 2045.
This class should not be called directly.
Concurrency issues:
None.
Constructor Summary | |
---|---|
Base64()
|
Method Summary | |
---|---|
static byte[] |
decode(java.lang.String xEncodedString)
Decodes a Base64 encoded String. |
static java.lang.String |
encode(byte[] xData)
Encodes an array of bytes into Base64 format. |
protected static char[] |
encodeBlock(byte[] xData,
int xOffset)
Encodes a block of 3 bytes. |
protected static char |
getChar(int x6Bits)
Returns the carachter in the 6 lower bits of the input int. |
protected static int |
getValue(char xChar)
Decodes the value of a Base64 encoded character. |
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[] xData)
xData
- Input byte array.
xInput
.protected static char[] encodeBlock(byte[] xData, int xOffset)
xData
- input blockxOffset
- current offset
protected static char getChar(int x6Bits)
x6Bits
- Input character.
public static byte[] decode(java.lang.String xEncodedString)
xEncodedString
- Base64 encoded String.
protected static int getValue(char xChar)
xChar
- Base64 encoded character.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |