Package org.apache.tools.ant.util
Class Base64Converter
java.lang.Object
org.apache.tools.ant.util.Base64Converter
- Direct Known Subclasses:
Get.Base64Converter
BASE 64 encoding of a String or an array of bytes.
Based on RFC 1421.
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
alphabet
public static final char[] alphabetProvided for BC purposes
-
-
Constructor Details
-
Base64Converter
public Base64Converter()
-
-
Method Details
-
encode
-
encode
Encode a byte array into base64 encoding.- Parameters:
octetString
- the byte array to encode.- Returns:
- the encoded string.
-