|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.codestreet.messageforge.RBase64
Base64 encoder/decoder.
Constructor Summary | |
RBase64()
|
Method Summary | |
static byte[] |
decode(char[] cs,
int offset,
int len)
Decode a Base64 encoded char[]. |
static void |
decode(char[] cs,
int offset,
int len,
java.io.OutputStream os)
|
static byte[] |
decode(java.lang.String string)
Decode a Base64 encoded String. |
static void |
decode(java.lang.String string,
java.io.OutputStream os)
Decode a Base64 encoded String and write to OutputStream. |
static java.lang.String |
encode(byte[] data)
Encode a byte array as a Base64 encoded String. |
static java.lang.String |
encode(byte[] data,
int offset,
int len)
Encode a byte array as a Base64 encoded String. |
static void |
encode(byte[] data,
int offset,
int len,
java.io.OutputStream os)
Encode a byte array as to Base64 to write to an OutputStream. |
static void |
encode(byte[] data,
int offset,
int len,
java.io.Writer writer)
Encode a byte array as to Base64 to write to an Writer. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RBase64()
Method Detail |
public static byte[] decode(java.lang.String string)
string
- Base64 encoded String.
public static void decode(java.lang.String string, java.io.OutputStream os) throws java.io.IOException
string
- Base64 encoded String.os
- Output stream.
java.io.IOException
public static byte[] decode(char[] cs, int offset, int len)
cs
- Base64 encoded chatacter array.offset
- Offset.len
- Length.
public static void decode(char[] cs, int offset, int len, java.io.OutputStream os) throws java.io.IOException
java.io.IOException
public static java.lang.String encode(byte[] data)
data
- Byte array.
public static java.lang.String encode(byte[] data, int offset, int len)
data
- Byte array.offset
- Offset.len
- Length.
public static void encode(byte[] data, int offset, int len, java.io.OutputStream os) throws java.io.IOException
data
- Byte array.offset
- Offset.len
- Length.os
- Output stream.
java.io.IOException
public static void encode(byte[] data, int offset, int len, java.io.Writer writer) throws java.io.IOException
data
- Byte array.offset
- Offset.len
- Length.writer
- Writer.
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |