|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.cisco.ipphone.sdk.Text2Base64
public class Text2Base64
The Text2Base64 class converts a standard ASCII text string into a Base64-encoded string.
Base64 encoding is used for many purposes, especially by HTTP. One common use is encoding usernames and
passwords for HTTP Basic Authentication.
| Constructor Summary | |
|---|---|
Text2Base64()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
getBase64(java.lang.String text)
This method accepts an ASCII text string and returns the Base64-encoded version of that string. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Text2Base64()
| Method Detail |
|---|
public static java.lang.String getBase64(java.lang.String text)
Text2Base64 object.
text - The ASCII text string to be Base64 encoded
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||