Base64 Class

Used to encode and decode Base64 data.

Constructors

There are no constructors. You can call the methods directly.

Methods

decode( String str ) returns byte[]
Used to decode a given Base64 encoded string to a byte array.
decode( java.io.InputStream is ) returns java.io.InputStream
Used to decode a given Base64 encoded InputStream.
encode( String str ) returns String
Used to encode a given string to a Base64 encoded string.
encode( byte[] source ) returns String
Used to encode a given byte array to a Base64 encoded string.
encode( java.io.InputStream is ) returns java.io.InputStream
Used to encode a given InputStream.