|
Oracle® XML Java API Reference 10g Release 1 (10.1) B12024-02 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--org.apache.soap.encoding.soapenc.Base64
| Constructor Summary | |
Base64() | |
| Method Summary | |
static byte[] |
decode(char[] data, int off, int len)Decode the base64 data. |
static void |
decode(char[] data, int off, int len, java.io.OutputStream ostream)Decode the base64 data. |
static byte[] |
decode(java.lang.String data)Decode the base64 data. |
static void |
decode(java.lang.String data, java.io.OutputStream ostream)Decode the base64 data. |
static java.lang.String |
encode(byte[] data)Returns base64 representation of specified byte array. |
static java.lang.String |
encode(byte[] data, int off, int len)Returns base64 representation of specified byte array. |
static void |
encode(byte[] data, int off, int len, java.io.OutputStream ostream)Outputs base64 representation of the specified byte array to a byte stream. |
static void |
encode(byte[] data, int off, int len, java.io.Writer writer)Outputs base64 representation of the specified byte array to a character stream. |
| 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 byte[] decode(char[] data,
int off,
int len)
data - The base64 encoded data to be decodedoff - The offset within the encoded data at which to start decodinglen - The length of data to decodepublic static byte[] decode(java.lang.String data)
data - The base64 encoded data to be decoded
public static void decode(char[] data,
int off,
int len,
java.io.OutputStream ostream)
throws java.io.IOException
data - The base64 encoded data to be decodedoff - The offset within the encoded data at which to start decodinglen - The length of data to decodeostream - The OutputStream to which the decoded data should be writtenjava.io.IOException
public static void decode(java.lang.String data,
java.io.OutputStream ostream)
throws java.io.IOException
data - The base64 encoded data to be decodedostream - The OutputStream to which the decoded data should be writtenjava.io.IOExceptionpublic static java.lang.String encode(byte[] data)
data - The data to be encoded
public static java.lang.String encode(byte[] data,
int off,
int len)
data - The data to be encodedoff - The offset within the data at which to start encodinglen - The length of the data to encode
public static void encode(byte[] data,
int off,
int len,
java.io.OutputStream ostream)
throws java.io.IOException
data - The data to be encodedoff - The offset within the data at which to start encodinglen - The length of the data to encodeostream - The OutputStream to which the encoded data should be writtenjava.io.IOException
public static void encode(byte[] data,
int off,
int len,
java.io.Writer writer)
throws java.io.IOException
data - The data to be encodedoff - The offset within the data at which to start encodinglen - The length of the data to encodewriter - The Writer to which the encoded data should be writtenjava.io.IOException
|
Oracle® XML Java API Reference 10g Release 1 (10.1) B12024-02 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||