|
Oracle Internet Directory API Reference 11g Release 1 (11.1.1) E10664-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
oracle.ldap.util.Base64
public class Base64
Provides encoding of raw bytes to base64 encoded bytes and decoding of base64 encoded bytes to raw bytes.
| Constructor Summary | |
|---|---|
Base64() |
|
| Method Summary | |
|---|---|
static byte[] |
decode(byte[] inBytes)Decode a BASE-64 encoded sequence bytes. |
static java.lang.String |
decode(java.lang.String inStr)Use this method to decode a Base64 encoded string to the orginal String. |
static byte[] |
encode(byte[] inBytes)returns an array of base64-encoded characters to represent the passed data array. |
static java.lang.String |
encode(java.lang.String inStr)Use this method to convert a string to Base64-encoded string. |
static void |
main(java.lang.String[] args)Test Driver . |
static java.lang.String |
utfDecode(java.lang.String inStr)Use this method to decode a UTF8Base64 encoded string to the orginal String. |
static java.lang.String |
utfEncode(java.lang.String inStr)Use this method to convert a UTF-8string to Base64-encoded string. |
| 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(java.lang.String inStr)
inStr - String to be Base64 encoded.public static java.lang.String utfEncode(java.lang.String inStr)
inStr - String to be Base64 encoded.public static java.lang.String decode(java.lang.String inStr)
inStr - Base64 encoded string.public static java.lang.String utfDecode(java.lang.String inStr)
inStr - Base64 encoded string.public static byte[] encode(byte[] inBytes)
inBytes - the array of bytes to encodepublic static byte[] decode(byte[] inBytes)
inBytes - A sequence of Base 64 encoded bytes.public static void main(java.lang.String[] args)
|
Oracle Internet Directory API Reference 11g Release 1 (11.1.1) E10664-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||