org.apache.tools.ant.util
public class Base64Converter extends Object
Field Summary | |
---|---|
static char[] | alphabet Provided for BC purposes |
Method Summary | |
---|---|
String | encode(String s)
Encode a string into base64 encoding. |
String | encode(byte[] octetString)
Encode a byte array into base64 encoding. |
Parameters: s the string to encode.
Returns: the encoded string.
Parameters: octetString the byte array to encode.
Returns: the encoded string.