B C D E F G M N O R S U W Z 

B

Base64 - Class in org.craftercms.commons.crypto
 
Base64.InputStream - Class in org.craftercms.commons.crypto
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.InputStream(InputStream) - Constructor for class org.craftercms.commons.crypto.Base64.InputStream
Constructs a Base64.InputStream in DECODE mode.
Base64.InputStream(InputStream, int) - Constructor for class org.craftercms.commons.crypto.Base64.InputStream
Constructs a Base64.InputStream in either ENCODE or DECODE mode.
Base64.OutputStream - Class in org.craftercms.commons.crypto
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.
Base64.OutputStream(OutputStream) - Constructor for class org.craftercms.commons.crypto.Base64.OutputStream
Constructs a Base64.OutputStream in ENCODE mode.
Base64.OutputStream(OutputStream, int) - Constructor for class org.craftercms.commons.crypto.Base64.OutputStream
Constructs a Base64.OutputStream in either ENCODE or DECODE mode.

C

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

D

DECODE - Static variable in class org.craftercms.commons.crypto.Base64
Specify decoding.
decode(byte[], int, int, int) - Static method in class org.craftercms.commons.crypto.Base64
Very low-level access to decoding ASCII characters in the form of a byte array.
decode(String) - Static method in class org.craftercms.commons.crypto.Base64
Decodes data from Base64 notation, automatically detecting gzip-compressed data and decompressing it.
decode(String, int) - Static method in class org.craftercms.commons.crypto.Base64
Decodes data from Base64 notation, automatically detecting gzip-compressed data and decompressing it.
decodeFileToFile(String, String) - Static method in class org.craftercms.commons.crypto.Base64
Reads infile and decodes it to outfile.
decodeFromFile(String) - Static method in class org.craftercms.commons.crypto.Base64
Convenience method for reading a base64-encoded file and decoding it.
decodeToFile(String, String) - Static method in class org.craftercms.commons.crypto.Base64
Convenience method for decoding data to a file.
decodeToObject(String) - Static method in class org.craftercms.commons.crypto.Base64
Attempts to decode Base64 data and deserialize a Java Object within.
decrypt(byte[]) - Method in class org.craftercms.commons.crypto.SimpleAesCipher
 
DONT_BREAK_LINES - Static variable in class org.craftercms.commons.crypto.Base64
Don't break lines when encoding (violates strict Base64 specification)

E

ENCODE - Static variable in class org.craftercms.commons.crypto.Base64
Specify encoding.
encodeBytes(byte[]) - Static method in class org.craftercms.commons.crypto.Base64
Encodes a byte array into Base64 notation.
encodeBytes(byte[], int) - Static method in class org.craftercms.commons.crypto.Base64
Encodes a byte array into Base64 notation.
encodeBytes(byte[], int, int) - Static method in class org.craftercms.commons.crypto.Base64
Encodes a byte array into Base64 notation.
encodeBytes(byte[], int, int, int) - Static method in class org.craftercms.commons.crypto.Base64
Encodes a byte array into Base64 notation.
encodeFileToFile(String, String) - Static method in class org.craftercms.commons.crypto.Base64
Reads infile and encodes it to outfile.
encodeFromFile(String) - Static method in class org.craftercms.commons.crypto.Base64
Convenience method for reading a binary file and base64-encoding it.
encodeObject(Serializable) - Static method in class org.craftercms.commons.crypto.Base64
Serializes an object and returns the Base64-encoded version of that serialized object.
encodeObject(Serializable, int) - Static method in class org.craftercms.commons.crypto.Base64
Serializes an object and returns the Base64-encoded version of that serialized object.
encodeToFile(byte[], String) - Static method in class org.craftercms.commons.crypto.Base64
Convenience method for encoding data to a file.
encrypt(byte[]) - Method in class org.craftercms.commons.crypto.SimpleAesCipher
 

F

flushBase64() - Method in class org.craftercms.commons.crypto.Base64.OutputStream
Method added by PHIL.

G

GZIP - Static variable in class org.craftercms.commons.crypto.Base64
Specify that data should be gzip-compressed.

M

main(String[]) - Static method in class org.craftercms.commons.crypto.Base64
Encodes or decodes two files from the command line; feel free to delete this method (in fact you probably should) if you're embedding this code into a larger program.

N

NO_OPTIONS - Static variable in class org.craftercms.commons.crypto.Base64
No options specified.

O

ORDERED - Static variable in class org.craftercms.commons.crypto.Base64
Encode using the special "ordered" dialect of Base64 described here: http://www.faqs.org/qa/rfcc-1940.html.
org.craftercms.commons.crypto - package org.craftercms.commons.crypto
 
org.craftercms.commons.zip - package org.craftercms.commons.zip
 

R

read() - Method in class org.craftercms.commons.crypto.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 org.craftercms.commons.crypto.Base64.InputStream
Calls Base64.InputStream.read() repeatedly until the end of stream is reached or len bytes are read.
resumeEncoding() - Method in class org.craftercms.commons.crypto.Base64.OutputStream
Resumes encoding of the stream.

S

setKey(byte[]) - Method in class org.craftercms.commons.crypto.SimpleAesCipher
 
SimpleAesCipher - Class in org.craftercms.commons.crypto
 
SimpleAesCipher(String) - Constructor for class org.craftercms.commons.crypto.SimpleAesCipher
 
suspendEncoding() - Method in class org.craftercms.commons.crypto.Base64.OutputStream
Suspends encoding of the stream.

U

unZipFiles(InputStream, File) - Static method in class org.craftercms.commons.zip.ZipUtils
Unzips a zip from an input stream into an output folder.
unZipFiles(File, File) - Static method in class org.craftercms.commons.zip.ZipUtils
Unzips a zip file into an output folder.
URL_SAFE - Static variable in class org.craftercms.commons.crypto.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

write(int) - Method in class org.craftercms.commons.crypto.Base64.OutputStream
Writes the byte to the output stream after converting to/from Base64 notation.
write(byte[], int, int) - Method in class org.craftercms.commons.crypto.Base64.OutputStream
Calls write(int) repeatedly until len bytes are written.

Z

zipFiles(List<File>, OutputStream) - Static method in class org.craftercms.commons.zip.ZipUtils
Zips a collection of files to a destination zip output stream.
zipFiles(List<File>, File) - Static method in class org.craftercms.commons.zip.ZipUtils
Zips a collection of files to a destination zip file.
ZipUtils - Class in org.craftercms.commons.zip
Utility for zipping files.
ZipUtils() - Constructor for class org.craftercms.commons.zip.ZipUtils
 
B C D E F G M N O R S U W Z 

Copyright © 2014 CrafterCMS. All Rights Reserved.