|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.meterware.httpunit.Base64
A utility class to convert to and from base 64 encoding.
Constructor Summary | |
Base64()
|
Method Summary | |
static java.lang.String |
decode(java.lang.String source)
Returns the plaintext equivalent of a base 64-encoded string. |
static java.lang.String |
encode(java.lang.String source)
Returns the base 64 encoded equivalent of a supplied 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 source)
source
- the string to encodepublic static java.lang.String decode(java.lang.String source)
source
- a base 64 string (which must have a multiple of 4 characters)
|
Copyright © 2000-2008 Russell Gold. See license agreement for rights granted. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |