B C D E F G I L M N O P R S U W _
All Classes All Packages
All Classes All Packages
All Classes All Packages
B
- b4 - Variable in class net.iharder.Base64.OutputStream
- Base64 - Class in net.iharder
-
Encodes and decodes to and from Base64 notation.
- Base64() - Constructor for class net.iharder.Base64
-
Defeats instantiation.
- Base64.InputStream - Class in net.iharder
-
A
Base64.InputStream
will read data from another java.io.InputStream, given in the constructor, and encode/decode to/from Base64 notation on the fly. - Base64.OutputStream - Class in net.iharder
-
A
Base64.OutputStream
will write data to another java.io.OutputStream, given in the constructor, and encode/decode to/from Base64 notation on the fly. - breakLines - Variable in class net.iharder.Base64.InputStream
- breakLines - Variable in class net.iharder.Base64.OutputStream
- buffer - Variable in class net.iharder.Base64.InputStream
- buffer - Variable in class net.iharder.Base64.OutputStream
- bufferLength - Variable in class net.iharder.Base64.InputStream
- bufferLength - Variable in class net.iharder.Base64.OutputStream
C
- close() - Method in class net.iharder.Base64.OutputStream
-
Flushes and closes (I think, in the superclass) the stream.
D
- decodabet - Variable in class net.iharder.Base64.InputStream
- decodabet - Variable in class net.iharder.Base64.OutputStream
- decode(byte[]) - Static method in class net.iharder.Base64
-
Low-level access to decoding ASCII characters in the form of a byte array.
- decode(byte[], int, int, int) - Static method in class net.iharder.Base64
-
Low-level access to decoding ASCII characters in the form of a byte array.
- decode(String) - Static method in class net.iharder.Base64
-
Decodes data from Base64 notation, automatically detecting gzip-compressed data and decompressing it.
- decode(String, int) - Static method in class net.iharder.Base64
-
Decodes data from Base64 notation, automatically detecting gzip-compressed data and decompressing it.
- DECODE - Static variable in class net.iharder.Base64
-
Specify decoding in first bit.
- decode4to3(byte[], int, byte[], int, int) - Static method in class net.iharder.Base64
-
Decodes four bytes from array source and writes the resulting bytes (up to three of them) to destination.
- decodeFileToFile(String, String) - Static method in class net.iharder.Base64
-
Reads infile and decodes it to outfile.
- decodeFromFile(String) - Static method in class net.iharder.Base64
-
Convenience method for reading a base64-encoded file and decoding it.
- decodeToFile(String, String) - Static method in class net.iharder.Base64
-
Convenience method for decoding data to a file.
- decodeToObject(String) - Static method in class net.iharder.Base64
-
Attempts to decode Base64 data and deserialize a Java Object within.
- decodeToObject(String, int, ClassLoader) - Static method in class net.iharder.Base64
-
Attempts to decode Base64 data and deserialize a Java Object within.
- DO_BREAK_LINES - Static variable in class net.iharder.Base64
-
Do break lines when encoding.
- DONT_GUNZIP - Static variable in class net.iharder.Base64
-
Specify that gzipped data should not be automatically gunzipped.
E
- encode - Variable in class net.iharder.Base64.InputStream
- encode - Variable in class net.iharder.Base64.OutputStream
- encode(ByteBuffer, ByteBuffer) - Static method in class net.iharder.Base64
-
Performs Base64 encoding on the
raw
ByteBuffer, writing it to theencoded
ByteBuffer. - encode(ByteBuffer, CharBuffer) - Static method in class net.iharder.Base64
-
Performs Base64 encoding on the
raw
ByteBuffer, writing it to theencoded
CharBuffer. - ENCODE - Static variable in class net.iharder.Base64
-
Specify encoding in first bit.
- encode3to4(byte[], byte[], int, int) - Static method in class net.iharder.Base64
-
Encodes up to the first three bytes of array threeBytes and returns a four-byte array in Base64 notation.
- encode3to4(byte[], int, int, byte[], int, int) - Static method in class net.iharder.Base64
-
Encodes up to three bytes of the array source and writes the resulting four Base64 bytes to destination.
- encodeBytes(byte[]) - Static method in class net.iharder.Base64
-
Encodes a byte array into Base64 notation.
- encodeBytes(byte[], int) - Static method in class net.iharder.Base64
-
Encodes a byte array into Base64 notation.
- encodeBytes(byte[], int, int) - Static method in class net.iharder.Base64
-
Encodes a byte array into Base64 notation.
- encodeBytes(byte[], int, int, int) - Static method in class net.iharder.Base64
-
Encodes a byte array into Base64 notation.
- encodeBytesToBytes(byte[]) - Static method in class net.iharder.Base64
-
Similar to
Base64.encodeBytes(byte[])
but returns a byte array instead of instantiating a String. - encodeBytesToBytes(byte[], int, int, int) - Static method in class net.iharder.Base64
-
Similar to
Base64.encodeBytes(byte[], int, int, int)
but returns a byte array instead of instantiating a String. - encodeFileToFile(String, String) - Static method in class net.iharder.Base64
-
Reads infile and encodes it to outfile.
- encodeFromFile(String) - Static method in class net.iharder.Base64
-
Convenience method for reading a binary file and base64-encoding it.
- encodeObject(Serializable) - Static method in class net.iharder.Base64
-
Serializes an object and returns the Base64-encoded version of that serialized object.
- encodeObject(Serializable, int) - Static method in class net.iharder.Base64
-
Serializes an object and returns the Base64-encoded version of that serialized object.
- encodeToFile(byte[], String) - Static method in class net.iharder.Base64
-
Convenience method for encoding data to a file.
- EQUALS_SIGN - Static variable in class net.iharder.Base64
-
The equals sign (=) as a byte.
- EQUALS_SIGN_ENC - Static variable in class net.iharder.Base64
F
- flushBase64() - Method in class net.iharder.Base64.OutputStream
-
Method added by PHIL.
G
- getAlphabet(int) - Static method in class net.iharder.Base64
-
Returns one of the _SOMETHING_ALPHABET byte arrays depending on the options specified.
- getDecodabet(int) - Static method in class net.iharder.Base64
-
Returns one of the _SOMETHING_DECODABET byte arrays depending on the options specified.
- GZIP - Static variable in class net.iharder.Base64
-
Specify that data should be gzip-compressed in second bit.
I
- InputStream(InputStream) - Constructor for class net.iharder.Base64.InputStream
-
Constructs a
Base64.InputStream
in DECODE mode. - InputStream(InputStream, int) - Constructor for class net.iharder.Base64.InputStream
-
Constructs a
Base64.InputStream
in either ENCODE or DECODE mode.
L
- lineLength - Variable in class net.iharder.Base64.InputStream
- lineLength - Variable in class net.iharder.Base64.OutputStream
M
- MAX_LINE_LENGTH - Static variable in class net.iharder.Base64
-
Maximum line length (76) of Base64 output.
N
- net.iharder - package net.iharder
- NEW_LINE - Static variable in class net.iharder.Base64
-
The new line character (\n) as a byte.
- NO_OPTIONS - Static variable in class net.iharder.Base64
-
No options specified.
- numSigBytes - Variable in class net.iharder.Base64.InputStream
O
- options - Variable in class net.iharder.Base64.InputStream
- options - Variable in class net.iharder.Base64.OutputStream
- ORDERED - Static variable in class net.iharder.Base64
-
Encode using the special "ordered" dialect of Base64 described here: http://www.faqs.org/qa/rfcc-1940.html.
- OutputStream(OutputStream) - Constructor for class net.iharder.Base64.OutputStream
-
Constructs a
Base64.OutputStream
in ENCODE mode. - OutputStream(OutputStream, int) - Constructor for class net.iharder.Base64.OutputStream
-
Constructs a
Base64.OutputStream
in either ENCODE or DECODE mode.
P
- position - Variable in class net.iharder.Base64.InputStream
- position - Variable in class net.iharder.Base64.OutputStream
- PREFERRED_ENCODING - Static variable in class net.iharder.Base64
-
Preferred encoding.
R
- read() - Method in class net.iharder.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 net.iharder.Base64.InputStream
-
Calls
read()
repeatedly until the end of stream is reached or len bytes are read. - resumeEncoding() - Method in class net.iharder.Base64.OutputStream
-
Resumes encoding of the stream.
S
- suspendEncoding - Variable in class net.iharder.Base64.OutputStream
- suspendEncoding() - Method in class net.iharder.Base64.OutputStream
-
Suspends encoding of the stream.
U
- URL_SAFE - Static variable in class net.iharder.Base64
-
Encode using Base64-like encoding that is URL- and Filename-safe as described in Section 4 of RFC3548: http://www.faqs.org/rfcs/rfc3548.html.
W
- WHITE_SPACE_ENC - Static variable in class net.iharder.Base64
- write(byte[], int, int) - Method in class net.iharder.Base64.OutputStream
-
Calls
Base64.OutputStream.write(int)
repeatedly until len bytes are written. - write(int) - Method in class net.iharder.Base64.OutputStream
-
Writes the byte to the output stream after converting to/from Base64 notation.
_
- _ORDERED_ALPHABET - Static variable in class net.iharder.Base64
-
I don't get the point of this technique, but someone requested it, and it is described here: http://www.faqs.org/qa/rfcc-1940.html.
- _ORDERED_DECODABET - Static variable in class net.iharder.Base64
-
Used in decoding the "ordered" dialect of Base64.
- _STANDARD_ALPHABET - Static variable in class net.iharder.Base64
-
The 64 valid Base64 values.
- _STANDARD_DECODABET - Static variable in class net.iharder.Base64
-
Translates a Base64 value to either its 6-bit reconstruction value or a negative number indicating some other meaning.
- _URL_SAFE_ALPHABET - Static variable in class net.iharder.Base64
-
Used in the URL- and Filename-safe dialect described in Section 4 of RFC3548: http://www.faqs.org/rfcs/rfc3548.html.
- _URL_SAFE_DECODABET - Static variable in class net.iharder.Base64
-
Used in decoding URL- and Filename-safe dialects of Base64.
All Classes All Packages