| |
|
| java.lang.Object com.meterware.httpunit.Base64
Base64 | public class Base64 (Code) | | A utility class to convert to and from base 64 encoding.
author: Russell Gold |
Method Summary | |
public static String | decode(String source) Returns the plaintext equivalent of a base 64-encoded string. | public static String | encode(String source) Returns the base 64 encoded equivalent of a supplied string. |
decode | public static String decode(String source)(Code) | | Returns the plaintext equivalent of a base 64-encoded string.
Parameters: source - a base 64 string (which must have a multiple of 4 characters) |
encode | public static String encode(String source)(Code) | | Returns the base 64 encoded equivalent of a supplied string.
Parameters: source - the string to encode |
|
|
|