B C D E F M R W

B

Base64 - class Base64.
Encodes and decodes to and from Base64 notation.
Base64.InputStream - class Base64.InputStream.
A Base64#InputStream will read data from another InputStream, given in the constructor, and encode/decode to/from Base64 notation on the fly.
Base64.InputStream(InputStream) - Constructor for class Base64.InputStream
Constructs a Base64#InputStream in DECODE mode.
Base64.InputStream(InputStream, boolean) - Constructor for class Base64.InputStream
Constructs a Base64#InputStream in either ENCODE or DECODE mode.
Base64.InputStream(InputStream, boolean, boolean) - Constructor for class Base64.InputStream
Constructs a Base64#InputStream in either ENCODE or DECODE mode.
Base64.OutputStream - class Base64.OutputStream.
A Base64#OutputStream will write data to another OutputStream, given in the constructor, and encode/decode to/from Base64 notation on the fly.
Base64.OutputStream(OutputStream) - Constructor for class Base64.OutputStream
Constructs a Base64#OutputStream in ENCODE mode.
Base64.OutputStream(OutputStream, boolean) - Constructor for class Base64.OutputStream
Constructs a Base64#OutputStream in either ENCODE or DECODE mode.
Base64.OutputStream(OutputStream, boolean, boolean) - Constructor for class Base64.OutputStream
Constructs a Base64#OutputStream in either ENCODE or DECODE mode.

C

close() - Method in class Base64.OutputStream
Flushes and closes (I think, in the superclass) the stream.

D

DECODE - Static variable in class Base64
Specify decoding (value is false).
decode(byte[], int, int) - Static method in class Base64
Decodes Base64 content in byte array format and returns the decoded byte array.
decode(String) - Static method in class Base64
Decodes data from Base64 notation.
decodeFromFile(String) - Static method in class Base64
Simple helper method that Base64-decodes a file and returns the decoded data or null if there was an error.
decodeToFile(byte[], String) - Static method in class Base64
Simple helper method that Base64-decodes data to a file.
decodeToObject(String) - Static method in class Base64
Attempts to decode Base64 data and deserialize a Java Object within.
decodeToString(String) - Static method in class Base64
Decodes data from Base64 notation and returns it as a string.

E

ENCODE - Static variable in class Base64
Specify encoding (value is true).
encodeBytes(byte[]) - Static method in class Base64
Encodes a byte array into Base64 notation.
encodeBytes(byte[], boolean) - Static method in class Base64
Encodes a byte array into Base64 notation.
encodeBytes(byte[], int, int) - Static method in class Base64
Encodes a byte array into Base64 notation.
encodeBytes(byte[], int, int, boolean) - Static method in class Base64
Encodes a byte array into Base64 notation.
encodeFromFile(String) - Static method in class Base64
Simple helper method that Base64-encodes a file and returns the encoded string or null if there was an error.
encodeObject(Serializable) - Static method in class Base64
Serializes an object and returns the Base64-encoded version of that serialized object.
encodeObject(Serializable, boolean) - Static method in class Base64
Serializes an object and returns the Base64-encoded version of that serialized object.
encodeString(String) - Static method in class Base64
Encodes a string in Base64 notation with line breaks after every 75 Base64 characters.
encodeString(String, boolean) - Static method in class Base64
Encodes a string in Base64 notation with line breaks after every 75 Base64 characters.
encodeToFile(byte[], String) - Static method in class Base64
Simple helper method that Base64-encodes data to a file.

F

flush() - Method in class Base64.OutputStream
Appropriately pads Base64 notation when encoding or throws an exception if Base64 input is not properly padded when decoding.

M

main(String[]) - Static method in class Base64
Testing.

R

read() - Method in class Base64.InputStream
Reads enough of the input stream to convert to/from Base64 and returns the next byte.
read(byte[], int, int) - Method in class Base64.InputStream
Calls Base64.InputStream.read() repeatedly until the end of stream is reached or len bytes are read.
readFile(File, boolean) - Static method in class Base64
Reads a file and either encodes or decodes it.
readFile(String, boolean) - Static method in class Base64
Reads a file and either encodes or decodes it.

W

write(byte[], int, int) - Method in class Base64.OutputStream
Calls Base64.OutputStream.write(int) repeatedly until len bytes are written.
write(int) - Method in class Base64.OutputStream
Writes the byte to the output stream after converting to/from Base64 notation.
writeFile(byte[], File, boolean) - Static method in class Base64
Writes a byte array to a file either encoding it or decoding it as specified.
writeFile(byte[], int, int, File, boolean) - Static method in class Base64
Writes a byte array to a file either encoding it or decoding it as specified.
writeFile(byte[], String, boolean) - Static method in class Base64
Writes a byte array to a file either encoding it or decoding it as specified.

B C D E F M R W