Base64 Class

Used to encode and decode Base64 data.

Constructors

There are no public constructors.

Properties

NO_OPTIONS
DONT_BREAK_LINES
Don't break lines when encoding (violates strict Base64 specification)

Static Methods

encode( String str ) returns String
Used to encode a given string to a Base64 encoded string.
encode( String str, int options ) returns String
encode( byte[] source ) returns String
Used to encode a given byte array to a Base64 encoded string.
encode( byte[] source, int options ) returns String
encode( java.io.InputStream is ) returns java.io.InputStream
Used to encode a given InputStream.
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.