|
Apache Tomcat 7.0.28 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.catalina.util.Base64
public final class Base64
This class provides encode/decode for RFC 2045 Base64 as defined by RFC 2045, N. Freed and N. Borenstein. RFC 2045: Multipurpose Internet Mail Extensions (MIME) Part One: Format of Internet Message Bodies. Reference 1996
Constructor Summary | |
---|---|
Base64()
|
Method Summary | |
---|---|
static void |
decode(ByteChunk base64DataBC,
ByteChunk decodedDataBC)
Decodes Base64 data into octets |
static void |
decode(ByteChunk base64DataBC,
CharChunk decodedDataCC)
Decodes Base64 data into octets |
static String |
encode(byte[] binaryData)
Encodes hex octets into Base64. |
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 String encode(byte[] binaryData)
binaryData
- Array containing binary data to encode.
public static void decode(ByteChunk base64DataBC, CharChunk decodedDataCC)
base64DataBC
- Byte array containing Base64 datadecodedDataCC
- The decoded data charspublic static void decode(ByteChunk base64DataBC, ByteChunk decodedDataBC)
base64DataBC
- Byte array containing Base64 datadecodedDataBC
- The decoded data bytes
|
Apache Tomcat 7.0.28 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |