|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.pushtotest.testmaker.resources.Base64Codec
public class Base64Codec
This class provides a Base64 Encoding method. This is used often in the Basic Authentication method of HTTP as well as for transmitting binary data as MIME attachments.
| Method Summary | |
|---|---|
char[] |
decode(char[] chars)
Decode the String from base64 |
java.lang.String |
decode(java.lang.String chars)
Decode the String from base64 |
char[] |
encode(char[] chars)
Does the actual encoding process. |
java.lang.String |
encode(java.lang.String chars)
Does the actual encoding process. |
static Base64Codec |
getInstance()
Returns a singleton instance of the Base64Codec |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static Base64Codec getInstance()
public java.lang.String encode(java.lang.String chars)
encode in interface Codecchars - The String to encode to Base64
public char[] encode(char[] chars)
encode in interface Codecchars - The character array to encode to Base64
public java.lang.String decode(java.lang.String chars)
decode in interface Codecchars - Description of Parameter
public char[] decode(char[] chars)
decode in interface Codecchars - Description of Parameter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||