A B C D E F G H I L M N O P R S T U W Z

A

Adler32 - class net.sf.zipme.Adler32.
Computes Adler32 checksum for a stream of data.
Adler32() - Constructor for class net.sf.zipme.Adler32
Creates a new instance of the Adler32 class.
available() - Method in class net.sf.zipme.CheckedInputStream
Calls the in.available() method.
available() - Method in class net.sf.zipme.InflaterInputStream
Returns 0 once the end of the stream (EOF) has been reached.
available() - Method in class net.sf.zipme.ZipInputStream
 

B

BEST_COMPRESSION - Static variable in class net.sf.zipme.Deflater
The best and slowest compression level.
BEST_SPEED - Static variable in class net.sf.zipme.Deflater
The worst but fastest compression level.
buf - Variable in class net.sf.zipme.DeflaterOutputStream
This buffer is used temporarily to retrieve the bytes from the deflater and write them to the underlying output stream.
buf - Variable in class net.sf.zipme.InflaterInputStream
Byte array used as a buffer

C

CRC32 - class net.sf.zipme.CRC32.
Computes CRC32 data checksum of a data stream.
CRC32() - Constructor for class net.sf.zipme.CRC32
 
CheckedInputStream - class net.sf.zipme.CheckedInputStream.
InputStream that computes a checksum of the data being read using a supplied Checksum object.
CheckedInputStream(InputStream, Checksum) - Constructor for class net.sf.zipme.CheckedInputStream
Creates a new CheckInputStream on top of the supplied OutputStream using the supplied Checksum.
CheckedOutputStream - class net.sf.zipme.CheckedOutputStream.
OutputStream that computes a checksum of data being written using a supplied Checksum object.
CheckedOutputStream(OutputStream, Checksum) - Constructor for class net.sf.zipme.CheckedOutputStream
Creates a new CheckInputStream on top of the supplied OutputStream using the supplied Checksum.
Checksum - interface net.sf.zipme.Checksum.
Interface to compute a data checksum used by checked input/output streams.
close() - Method in class net.sf.zipme.CheckedInputStream
This method closes the input stream by closing the input stream that this object is filtering.
close() - Method in class net.sf.zipme.CheckedOutputStream
This method closes the underlying OutputStream.
close() - Method in class net.sf.zipme.DeflaterOutputStream
Calls finish() and closes the stream.
close() - Method in class net.sf.zipme.GZIPInputStream
Closes the input stream.
close() - Method in class net.sf.zipme.GZIPOutputStream
Writes remaining compressed output data to the output stream and closes it.
close() - Method in class net.sf.zipme.InflaterInputStream
Closes the input stream
close() - Method in class net.sf.zipme.ZipInputStream
Closes the zip file.
closeEntry() - Method in class net.sf.zipme.ZipInputStream
Closes the current zip entry and moves to the next one.
closeEntry() - Method in class net.sf.zipme.ZipOutputStream
Closes the current entry.
crc - Variable in class net.sf.zipme.GZIPInputStream
The CRC-32 checksum value for uncompressed data.
crc - Variable in class net.sf.zipme.GZIPOutputStream
CRC-32 value for uncompressed data
createZipEntry(String) - Method in class net.sf.zipme.ZipInputStream
Creates a new zip entry for the given name.

D

DEFAULT_COMPRESSION - Static variable in class net.sf.zipme.Deflater
The default compression level.
DEFAULT_STRATEGY - Static variable in class net.sf.zipme.Deflater
The default strategy.
DEFLATED - Static variable in class net.sf.zipme.Deflater
The compression method.
DEFLATED - Static variable in class net.sf.zipme.ZipEntry
Compression method.
DEFLATED - Static variable in class net.sf.zipme.ZipOutputStream
Compression method.
DataFormatException - exception net.sf.zipme.DataFormatException.
Exception thrown when compressed data is corrupt.
DataFormatException() - Constructor for class net.sf.zipme.DataFormatException
Create an exception without a message.
DataFormatException(String) - Constructor for class net.sf.zipme.DataFormatException
Create an exception with a message.
Deflater - class net.sf.zipme.Deflater.
This is the Deflater class.
Deflater() - Constructor for class net.sf.zipme.Deflater
Creates a new deflater with default compression level.
Deflater(int) - Constructor for class net.sf.zipme.Deflater
Creates a new deflater with given compression level.
Deflater(int, boolean) - Constructor for class net.sf.zipme.Deflater
Creates a new deflater with given compression level.
DeflaterOutputStream - class net.sf.zipme.DeflaterOutputStream.
This is a special OutputStream deflating the bytes that are written through it.
DeflaterOutputStream(OutputStream) - Constructor for class net.sf.zipme.DeflaterOutputStream
Creates a new DeflaterOutputStream with a default Deflater and default buffer size.
DeflaterOutputStream(OutputStream, Deflater) - Constructor for class net.sf.zipme.DeflaterOutputStream
Creates a new DeflaterOutputStream with the given Deflater and default buffer size.
DeflaterOutputStream(OutputStream, Deflater, int) - Constructor for class net.sf.zipme.DeflaterOutputStream
Creates a new DeflaterOutputStream with the given Deflater and buffer size.
def - Variable in class net.sf.zipme.DeflaterOutputStream
The deflater which is used to deflate the stream.
deflate(byte[]) - Method in class net.sf.zipme.Deflater
Deflates the current input block to the given array.
deflate(byte[], int, int) - Method in class net.sf.zipme.Deflater
Deflates the current input block to the given array.
deflate() - Method in class net.sf.zipme.DeflaterOutputStream
Deflates everything in the def's input buffers.

E

end() - Method in class net.sf.zipme.Deflater
Frees all objects allocated by the compressor.
end() - Method in class net.sf.zipme.Inflater
Frees all objects allocated by the inflater.
entries() - Method in class net.sf.zipme.ZipArchive
Returns an enumeration of all Zip entries in this Zip archive.
eos - Variable in class net.sf.zipme.GZIPInputStream
Indicates whether or not the end of the stream has been reached.

F

FILTERED - Static variable in class net.sf.zipme.Deflater
This strategy will only allow longer string repetitions.
fill() - Method in class net.sf.zipme.InflaterInputStream
Fills the buffer with more data to decompress.
finish() - Method in class net.sf.zipme.Deflater
Finishes the deflater with the current input block.
finish() - Method in class net.sf.zipme.DeflaterOutputStream
Finishes the stream by calling finish() on the deflater.
finish() - Method in class net.sf.zipme.GZIPOutputStream
 
finish() - Method in class net.sf.zipme.ZipOutputStream
Finishes the stream.
finished() - Method in class net.sf.zipme.Deflater
Returns true iff the stream was finished and no more output bytes are available.
finished() - Method in class net.sf.zipme.Inflater
Returns true, if the inflater has finished.
flush() - Method in class net.sf.zipme.CheckedOutputStream
This method attempt to flush all buffered output to be written to the underlying output sink.
flush() - Method in class net.sf.zipme.DeflaterOutputStream
Flushes the stream by calling flush() on the deflater and then on the underlying stream.

G

GZIPInputStream - class net.sf.zipme.GZIPInputStream.
This filter stream is used to decompress a "GZIP" format stream.
GZIPInputStream(InputStream) - Constructor for class net.sf.zipme.GZIPInputStream
Creates a GZIPInputStream with the default buffer size.
GZIPInputStream(InputStream, int) - Constructor for class net.sf.zipme.GZIPInputStream
Creates a GZIPInputStream with the specified buffer size.
GZIPOutputStream - class net.sf.zipme.GZIPOutputStream.
This filter stream is used to compress a stream into a "GZIP" stream.
GZIPOutputStream(OutputStream) - Constructor for class net.sf.zipme.GZIPOutputStream
Creates a GZIPOutputStream with the default buffer size
GZIPOutputStream(OutputStream, int) - Constructor for class net.sf.zipme.GZIPOutputStream
Creates a GZIPOutputStream with the specified buffer size
GZIP_MAGIC - Static variable in class net.sf.zipme.GZIPInputStream
The magic number found at the start of a GZIP stream.
getAdler() - Method in class net.sf.zipme.Deflater
Gets the current adler checksum of the data that was processed so far.
getAdler() - Method in class net.sf.zipme.Inflater
Gets the adler checksum.
getBytesRead() - Method in class net.sf.zipme.Deflater
Gets the number of input bytes processed so far.
getBytesRead() - Method in class net.sf.zipme.Inflater
Gets the total number of processed compressed input bytes.
getBytesWritten() - Method in class net.sf.zipme.Deflater
Gets the number of output bytes so far.
getBytesWritten() - Method in class net.sf.zipme.Inflater
Gets the total number of output bytes returned by inflate().
getChecksum() - Method in class net.sf.zipme.CheckedInputStream
Returns the Checksum object used.
getChecksum() - Method in class net.sf.zipme.CheckedOutputStream
Returns the Checksum object used.
getComment() - Method in class net.sf.zipme.ZipEntry
Gets the comment.
getCompressedSize() - Method in class net.sf.zipme.ZipEntry
Gets the size of the compressed data.
getCrc() - Method in class net.sf.zipme.ZipEntry
Gets the crc of the uncompressed data.
getEntry(String) - Method in class net.sf.zipme.ZipArchive
Searches for a zip entry in this archive with the given name.
getExtra() - Method in class net.sf.zipme.ZipEntry
Gets the extra data.
getInputStream(ZipEntry) - Method in class net.sf.zipme.ZipArchive
Creates an input stream reading the given zip entry as uncompressed data.
getMethod() - Method in class net.sf.zipme.ZipEntry
Gets the compression method.
getName() - Method in class net.sf.zipme.ZipEntry
Returns the entry name.
getNextEntry() - Method in class net.sf.zipme.ZipInputStream
Open the next entry from the zip archive, and return its description.
getRemaining() - Method in class net.sf.zipme.Inflater
Gets the number of unprocessed input.
getSize() - Method in class net.sf.zipme.ZipEntry
Gets the size of the uncompressed data.
getTime() - Method in class net.sf.zipme.ZipEntry
Gets the time of last modification of the entry.
getTotalIn() - Method in class net.sf.zipme.Deflater
Gets the number of input bytes processed so far.
getTotalIn() - Method in class net.sf.zipme.Inflater
Gets the total number of processed compressed input bytes.
getTotalOut() - Method in class net.sf.zipme.Deflater
Gets the number of output bytes so far.
getTotalOut() - Method in class net.sf.zipme.Inflater
Gets the total number of output bytes returned by inflate().
getValue() - Method in class net.sf.zipme.Adler32
Returns the Adler32 data checksum computed so far.
getValue() - Method in class net.sf.zipme.CRC32
Returns the CRC32 data checksum computed so far.
getValue() - Method in interface net.sf.zipme.Checksum
Returns the data checksum computed so far.

H

HUFFMAN_ONLY - Static variable in class net.sf.zipme.Deflater
This strategy will not look for string repetitions at all.
hashCode() - Method in class net.sf.zipme.ZipEntry
Gets the hashCode of this ZipEntry.

I

Inflater - class net.sf.zipme.Inflater.
Inflater is used to decompress data that has been compressed according to the "deflate" standard described in rfc1950.
Inflater() - Constructor for class net.sf.zipme.Inflater
Creates a new inflater.
Inflater(boolean) - Constructor for class net.sf.zipme.Inflater
Creates a new inflater.
InflaterInputStream - class net.sf.zipme.InflaterInputStream.
This filter stream is used to decompress data compressed in the "deflate" format.
InflaterInputStream(InputStream) - Constructor for class net.sf.zipme.InflaterInputStream
Create an InflaterInputStream with the default decompresseor and a default buffer size.
InflaterInputStream(InputStream, Inflater) - Constructor for class net.sf.zipme.InflaterInputStream
Create an InflaterInputStream with the specified decompresseor and a default buffer size.
InflaterInputStream(InputStream, Inflater, int) - Constructor for class net.sf.zipme.InflaterInputStream
Create an InflaterInputStream with the specified decompresseor and a specified buffer size.
in - Variable in class net.sf.zipme.CheckedInputStream
This is the subordinate InputStream to which method calls are redirected
in - Variable in class net.sf.zipme.InflaterInputStream
This is the subordinate InputStream to which method calls are redirected
inf - Variable in class net.sf.zipme.InflaterInputStream
Decompressor for this filter
inflate(byte[]) - Method in class net.sf.zipme.Inflater
Inflates the compressed stream to the output buffer.
inflate(byte[], int, int) - Method in class net.sf.zipme.Inflater
Inflates the compressed stream to the output buffer.
isDirectory() - Method in class net.sf.zipme.ZipEntry
Gets true, if the entry is a directory.

L

len - Variable in class net.sf.zipme.InflaterInputStream
Size of buffer

M

mark(int) - Method in class net.sf.zipme.CheckedInputStream
Calls the in.mark(int) method.
mark(int) - Method in class net.sf.zipme.InflaterInputStream
 
markSupported() - Method in class net.sf.zipme.CheckedInputStream
Calls the in.markSupported() method.
markSupported() - Method in class net.sf.zipme.InflaterInputStream
 

N

NO_COMPRESSION - Static variable in class net.sf.zipme.Deflater
This level won't compress at all but output uncompressed blocks.
needsDictionary() - Method in class net.sf.zipme.Inflater
Returns true, if a preset dictionary is needed to inflate the input.
needsInput() - Method in class net.sf.zipme.Deflater
Returns true, if the input buffer is empty.
needsInput() - Method in class net.sf.zipme.Inflater
Returns true, if the input buffer is empty.
net.sf.zipme - package net.sf.zipme
 

O

out - Variable in class net.sf.zipme.CheckedOutputStream
This is the subordinate OutputStream that this class redirects its method calls to.
out - Variable in class net.sf.zipme.DeflaterOutputStream
This is the subordinate OutputStream that this class redirects its method calls to.

P

putNextEntry(ZipEntry) - Method in class net.sf.zipme.ZipOutputStream
Starts a new Zip entry.

R

read() - Method in class net.sf.zipme.CheckedInputStream
Reads one byte, updates the checksum and returns the read byte (or -1 when the end of file was reached).
read(byte[]) - Method in class net.sf.zipme.CheckedInputStream
Calls the read(byte[], int, int) overloaded method.
read(byte[], int, int) - Method in class net.sf.zipme.CheckedInputStream
Reads at most len bytes in the supplied buffer and updates the checksum with it.
read(byte[], int, int) - Method in class net.sf.zipme.GZIPInputStream
Reads in GZIP-compressed data and stores it in uncompressed form into an array of bytes.
read() - Method in class net.sf.zipme.InflaterInputStream
Reads one byte of decompressed data.
read(byte[]) - Method in class net.sf.zipme.InflaterInputStream
Calls the read(byte[], int, int) overloaded method.
read(byte[], int, int) - Method in class net.sf.zipme.InflaterInputStream
Decompresses data into the byte array
read() - Method in class net.sf.zipme.ZipInputStream
Reads a byte from the current zip entry.
read(byte[], int, int) - Method in class net.sf.zipme.ZipInputStream
Reads a block of bytes from the current zip entry.
reset() - Method in class net.sf.zipme.Adler32
Resets the Adler32 checksum to the initial value.
reset() - Method in class net.sf.zipme.CRC32
Resets the CRC32 data checksum as if no update was ever called.
reset() - Method in class net.sf.zipme.CheckedInputStream
Calls the in.reset() method.
reset() - Method in interface net.sf.zipme.Checksum
Resets the data checksum as if no update was ever called.
reset() - Method in class net.sf.zipme.Deflater
Resets the deflater.
reset() - Method in class net.sf.zipme.Inflater
Resets the inflater so that a new stream can be decompressed.
reset() - Method in class net.sf.zipme.InflaterInputStream
 

S

STORED - Static variable in class net.sf.zipme.ZipEntry
Compression method.
STORED - Static variable in class net.sf.zipme.ZipOutputStream
Compression method.
setComment(String) - Method in class net.sf.zipme.ZipEntry
Sets the entry comment.
setComment(String) - Method in class net.sf.zipme.ZipOutputStream
Set the zip file comment.
setCompressedSize(long) - Method in class net.sf.zipme.ZipEntry
Sets the size of the compressed data.
setCrc(long) - Method in class net.sf.zipme.ZipEntry
Sets the crc of the uncompressed data.
setDictionary(byte[]) - Method in class net.sf.zipme.Deflater
Sets the dictionary which should be used in the deflate process.
setDictionary(byte[], int, int) - Method in class net.sf.zipme.Deflater
Sets the dictionary which should be used in the deflate process.
setDictionary(byte[]) - Method in class net.sf.zipme.Inflater
Sets the preset dictionary.
setDictionary(byte[], int, int) - Method in class net.sf.zipme.Inflater
Sets the preset dictionary.
setExtra(byte[]) - Method in class net.sf.zipme.ZipEntry
Sets the extra data.
setInput(byte[]) - Method in class net.sf.zipme.Deflater
Sets the data which should be compressed next.
setInput(byte[], int, int) - Method in class net.sf.zipme.Deflater
Sets the data which should be compressed next.
setInput(byte[]) - Method in class net.sf.zipme.Inflater
Sets the input.
setInput(byte[], int, int) - Method in class net.sf.zipme.Inflater
Sets the input.
setLevel(int) - Method in class net.sf.zipme.Deflater
Sets the compression level.
setLevel(int) - Method in class net.sf.zipme.ZipOutputStream
Sets default compression level.
setMethod(int) - Method in class net.sf.zipme.ZipEntry
Sets the compression method.
setMethod(int) - Method in class net.sf.zipme.ZipOutputStream
Sets default compression method.
setSize(long) - Method in class net.sf.zipme.ZipEntry
Sets the size of the uncompressed data.
setStrategy(int) - Method in class net.sf.zipme.Deflater
Sets the compression strategy.
setTime(long) - Method in class net.sf.zipme.ZipEntry
Sets the time of last modification of the entry.
size() - Method in class net.sf.zipme.ZipArchive
Returns the number of entries in this zip archive.
skip(long) - Method in class net.sf.zipme.CheckedInputStream
Skips n bytes by reading them in a temporary buffer and updating the the checksum with that buffer.
skip(long) - Method in class net.sf.zipme.InflaterInputStream
Skip specified number of bytes of uncompressed data

T

toString() - Method in class net.sf.zipme.ZipEntry
Gets the string representation of this ZipEntry.

U

update(int) - Method in class net.sf.zipme.Adler32
Updates the checksum with the byte b.
update(byte[]) - Method in class net.sf.zipme.Adler32
Updates the checksum with the bytes taken from the array.
update(byte[], int, int) - Method in class net.sf.zipme.Adler32
Updates the checksum with the bytes taken from the array.
update(int) - Method in class net.sf.zipme.CRC32
Updates the checksum with the int bval.
update(byte[], int, int) - Method in class net.sf.zipme.CRC32
Adds the byte array to the data checksum.
update(byte[]) - Method in class net.sf.zipme.CRC32
Adds the complete byte array to the data checksum.
update(int) - Method in interface net.sf.zipme.Checksum
Adds one byte to the data checksum.
update(byte[], int, int) - Method in interface net.sf.zipme.Checksum
Adds the byte array to the data checksum.

W

write(int) - Method in class net.sf.zipme.CheckedOutputStream
Writes one byte to the OutputStream and updates the Checksum.
write(byte[]) - Method in class net.sf.zipme.CheckedOutputStream
This method writes all the bytes in the specified array to the underlying OutputStream.
write(byte[], int, int) - Method in class net.sf.zipme.CheckedOutputStream
Writes the byte array to the OutputStream and updates the Checksum.
write(int) - Method in class net.sf.zipme.DeflaterOutputStream
Writes a single byte to the compressed output stream.
write(byte[]) - Method in class net.sf.zipme.DeflaterOutputStream
This method writes all the bytes in the specified array to the underlying OutputStream.
write(byte[], int, int) - Method in class net.sf.zipme.DeflaterOutputStream
Writes a len bytes from an array to the compressed stream.
write(byte[], int, int) - Method in class net.sf.zipme.GZIPOutputStream
 
write(byte[], int, int) - Method in class net.sf.zipme.ZipOutputStream
Writes the given buffer to the current entry.

Z

ZipArchive - class net.sf.zipme.ZipArchive.
This class represents a Zip archive.
ZipArchive(byte[]) - Constructor for class net.sf.zipme.ZipArchive
Opens a Zip archive reading the given byte array.
ZipArchive(byte[], int, int) - Constructor for class net.sf.zipme.ZipArchive
Opens a Zip archive reading the given byte array.
ZipArchive(InputStream) - Constructor for class net.sf.zipme.ZipArchive
Opens a Zip archive reading the given InputStream.
ZipEntry - class net.sf.zipme.ZipEntry.
This class represents a member of a zip archive.
ZipEntry(String) - Constructor for class net.sf.zipme.ZipEntry
Creates a zip entry with the given name.
ZipEntry(ZipEntry) - Constructor for class net.sf.zipme.ZipEntry
Creates a copy of the given zip entry.
ZipException - exception net.sf.zipme.ZipException.
Thrown during the creation or input of a zip file.
ZipException() - Constructor for class net.sf.zipme.ZipException
Create an exception without a message.
ZipException(String) - Constructor for class net.sf.zipme.ZipException
Create an exception with a message.
ZipInputStream - class net.sf.zipme.ZipInputStream.
This is a FilterInputStream that reads the files in an zip archive one after another.
ZipInputStream(InputStream) - Constructor for class net.sf.zipme.ZipInputStream
Creates a new Zip input stream, reading a zip archive.
ZipOutputStream - class net.sf.zipme.ZipOutputStream.
This is a FilterOutputStream that writes the files into a zip archive one after another.
ZipOutputStream(OutputStream) - Constructor for class net.sf.zipme.ZipOutputStream
Creates a new Zip output stream, writing a zip archive.

A B C D E F G H I L M N O P R S T U W Z