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

A

Adler32 - Class in org.bolet.jgz
This class can be used to compute Adler-32 checksums (specified in RFC 1950 and used in zlib streams).
Adler32() - Constructor for class org.bolet.jgz.Adler32
Create the checksum engine with the standard initial state.

C

close() - Method in class org.bolet.jgz.GZipInputStream
The implementation for this method closes the underlying input stream.
close() - Method in class org.bolet.jgz.GZipOutputStream
Close this stream; the transport stream is also closed.
close() - Method in class org.bolet.jgz.ZlibInputStream
This close() method checks that the logical end-of-stream has been reached; the checksum is verified if this has not already been done.
close() - Method in class org.bolet.jgz.ZlibOutputStream
Close this stream; the transport stream is also closed.
closeMember() - Method in class org.bolet.jgz.GZipDecoder
Decode the member footer.
COMPACT - Static variable in class org.bolet.jgz.Deflater
Compression level 4: try to achieve best compression ratio, possibly at the expense of compression speed.
CRC - Class in org.bolet.jgz
This class contains helper method for computing CRC checksums over some data.

D

deflate(byte[]) - Method in class org.bolet.jgz.DeflaterStateMachine
Get some compressed data bytes.
deflate(byte[], int, int) - Method in class org.bolet.jgz.DeflaterStateMachine
Get some compressed data bytes.
deflate(OutputStream) - Method in class org.bolet.jgz.DeflaterStateMachine
Get some compressed data bytes.
DEFLATE - Static variable in class org.bolet.jgz.GZipDecoder
Compression method: "deflate" algorithm (RFC 1951).
DEFLATE - Static variable in class org.bolet.jgz.ZlibInputStream
Compression method: the "deflate" algorithm (RFC 1951).
Deflater - Class in org.bolet.jgz
This class implements the core DEFLATE process, i.e.
Deflater() - Constructor for class org.bolet.jgz.Deflater
Build a deflater with the default parameters (MEDIUM level, 15-bit window).
Deflater(int) - Constructor for class org.bolet.jgz.Deflater
Build a deflater with the provided compression strategy (either SPEED, MEDIUM or COMPACT).
Deflater(int, int) - Constructor for class org.bolet.jgz.Deflater
Build a deflater with the provided compression strategy (either SPEED, MEDIUM or COMPACT) and the provided window size.
DeflaterStateMachine - Class in org.bolet.jgz
This class implements a DEFLATE engine as a state machine (deflation process).
DeflaterStateMachine(boolean) - Constructor for class org.bolet.jgz.DeflaterStateMachine
Build the state machine instance with default compression parameters.
DeflaterStateMachine(int, int, boolean) - Constructor for class org.bolet.jgz.DeflaterStateMachine
Build the state machine instance with the provided compression parameters.

F

FCOMMENT - Static variable in class org.bolet.jgz.GZipDecoder
Header flag: there is a comment field.
FEXTRA - Static variable in class org.bolet.jgz.GZipDecoder
Header flag: there is some extra data.
FHCRC - Static variable in class org.bolet.jgz.GZipDecoder
Header flag: header has its own CRC checksum.
finish() - Method in class org.bolet.jgz.DeflaterStateMachine
Finish the stream: the output will be marked as closed at the end of the currently provided input.
finished() - Method in class org.bolet.jgz.DeflaterStateMachine
Test whether the compression run is finished.
flush() - Method in class org.bolet.jgz.Deflater
If there is pending buffered data, compress it now, and write the block on the transport stream.
flush() - Method in class org.bolet.jgz.GZipOutputStream
Flush this stream; the transport stream is also flushed.
flush() - Method in class org.bolet.jgz.ZlibOutputStream
Flush this stream; the transport stream is also flushed.
flushFull(boolean) - Method in class org.bolet.jgz.Deflater
Perform a "full flush".
flushFull(boolean) - Method in class org.bolet.jgz.DeflaterStateMachine
Flush the stream: the output will be flushed (full flush) at the end of the currently provided input.
flushFull(boolean) - Method in class org.bolet.jgz.ZlibOutputStream
Flush this stream; the transport stream is also flushed.
flushPartial() - Method in class org.bolet.jgz.Deflater
Perform a "partial flush" in a way similar to what is done by zlib with option Z_PARTIAL_FLUSH.
flushPartial() - Method in class org.bolet.jgz.DeflaterStateMachine
Flush the stream: the output will be flushed (partial flush) at the end of the currently provided input.
flushPartial() - Method in class org.bolet.jgz.ZlibOutputStream
Flush this stream; the transport stream is also flushed.
flushSync(boolean) - Method in class org.bolet.jgz.Deflater
Perform a "sync flush" in a way similar to what is done by zlib with option Z_SYNC_FLUSH.
flushSync(boolean) - Method in class org.bolet.jgz.DeflaterStateMachine
Flush the stream: the output will be flushed (sync flush) at the end of the currently provided input.
flushSync(boolean) - Method in class org.bolet.jgz.ZlibOutputStream
Flush this stream; the transport stream is also flushed.
FNAME - Static variable in class org.bolet.jgz.GZipDecoder
Header flag: there is a source file name.
FTEXT - Static variable in class org.bolet.jgz.GZipDecoder
Header flag: compressed data is probably an ASCII text.

G

getComment() - Method in class org.bolet.jgz.GZipDecoder
Get the member comment (optional).
getCompressionInfo() - Method in class org.bolet.jgz.ZlibInputStream
Get the compression information.
getCompressionLevel() - Method in class org.bolet.jgz.ZlibInputStream
Get the compression level.
getCompressionMethod() - Method in class org.bolet.jgz.GZipDecoder
Get the compression method.
getCompressionMethod() - Method in class org.bolet.jgz.ZlibInputStream
Get the compression method (normally DEFLATE).
getDictionaryId() - Method in class org.bolet.jgz.ZlibInputStream
Get the dictionary identifier; if none was provided, then 0 is returned (but a valid dictionary could also use the identifier value of 0; use hasDictionary() to know if a dictionary ID was supplied in the stream).
getFlags() - Method in class org.bolet.jgz.GZipDecoder
Get the header flags (8-bit value).
getFlagsExtra() - Method in class org.bolet.jgz.GZipDecoder
Get the extra flags (8 bits).
getMTime() - Method in class org.bolet.jgz.GZipDecoder
Get the source file last modification time (32-bit "unix" time, as a number of seconds since the Epoch).
getOriginalFileName() - Method in class org.bolet.jgz.GZipDecoder
Get the data source file name (optional).
getOS() - Method in class org.bolet.jgz.GZipDecoder
Get the stream producer operating system (1-byte identifier).
getOut() - Method in class org.bolet.jgz.Deflater
Get the current output transport stream.
getSubStream() - Method in class org.bolet.jgz.GZipDecoder
Get the underlying stream which this decoder uses.
getSum() - Method in class org.bolet.jgz.Adler32
Get the current checksum value.
getUncompressedCRC() - Method in class org.bolet.jgz.GZipDecoder
Get the CRC over uncompressed data (32-bit value, from the member footer).
getUncompressedSize() - Method in class org.bolet.jgz.GZipDecoder
Get the uncompressed data size for this member (truncated to 32 bits).
GZipDecoder - Class in org.bolet.jgz
This class implements a generic decoder for gzip stream headers.
GZipDecoder(InputStream) - Constructor for class org.bolet.jgz.GZipDecoder
Build the decoder over the provided stream for compressed data.
GZipInputStream - Class in org.bolet.jgz
This class decompresses a data stream compressed in the gzip format, as documented in RFC 1952.
GZipInputStream(InputStream) - Constructor for class org.bolet.jgz.GZipInputStream
Create the stream over the provided underlying stream.
GZipOutputStream - Class in org.bolet.jgz
This class represents a stream which compress data into the gzip format, as specified in RFC 1952.
GZipOutputStream(OutputStream) - Constructor for class org.bolet.jgz.GZipOutputStream
Create the stream with the provided transport stream.
GZipOutputStream(OutputStream, int) - Constructor for class org.bolet.jgz.GZipOutputStream
Create the stream with the provided transport stream.

H

hasDictionary() - Method in class org.bolet.jgz.ZlibInputStream
Tell whether a dictionary was used by the compressor.
HUFF - Static variable in class org.bolet.jgz.Deflater
Compression level 1: do not apply LZ77; only Huffman codes are computed.

I

Inflater - Class in org.bolet.jgz
An Inflater instance handles the transformation of compressed data bytes, read from a user-specified stream, into the corresponding uncompressed data bytes.
Inflater() - Constructor for class org.bolet.jgz.Inflater
Create a new engine.
init() - Method in class org.bolet.jgz.Adler32
Reset the engine to the standard initial state.
init(int) - Method in class org.bolet.jgz.Adler32
Set the current checksum value.

J

JGZException - Exception in org.bolet.jgz
A JGZException is thrown when uncompressing some data bytes which turn out to violate the expected format in any way.
JGZException() - Constructor for exception org.bolet.jgz.JGZException
Build a new exception with no message.
JGZException(String) - Constructor for exception org.bolet.jgz.JGZException
Build a new exception with the provided explanatory message.

M

MEDIUM - Static variable in class org.bolet.jgz.Deflater
Compression level 3: compromise between speed and compression ratio.

N

needsInput() - Method in class org.bolet.jgz.DeflaterStateMachine
Test whether some fresh input data is necessary.
nextBlock() - Method in class org.bolet.jgz.Inflater
Get the next block header.
nextMember() - Method in class org.bolet.jgz.GZipDecoder
Decode the next member header.

O

org.bolet.jgz - package org.bolet.jgz
 

P

process(byte[], int, int) - Method in class org.bolet.jgz.Deflater
Process some more data.
processDictionary(InputStream) - Method in class org.bolet.jgz.Deflater
Process a dictionary.
processDictionary(byte[]) - Method in class org.bolet.jgz.Deflater
Process a dictionary.
processDictionary(byte[], int, int) - Method in class org.bolet.jgz.Deflater
Process a dictionary.
processDictionary(InputStream) - Method in class org.bolet.jgz.Inflater
Process a dictionary.
processDictionary(byte[]) - Method in class org.bolet.jgz.Inflater
Process a dictionary.
processDictionary(byte[], int, int) - Method in class org.bolet.jgz.Inflater
Process a dictionary.
processDictionary(InputStream) - Method in class org.bolet.jgz.ZlibInputStream
Process a dictionary: the stream contents are used as dictionary.
processDictionary(byte[]) - Method in class org.bolet.jgz.ZlibInputStream
Process a dictionary: the buffer contents are used as dictionary.
processDictionary(byte[], int, int) - Method in class org.bolet.jgz.ZlibInputStream
Process a dictionary: the buffer contents are used as dictionary.
processDictionary(InputStream) - Method in class org.bolet.jgz.ZlibOutputStream
Process a dictionary: the stream contents are used as dictionary.
processDictionary(byte[]) - Method in class org.bolet.jgz.ZlibOutputStream
Process a dictionary: the buffer contents are used as dictionary.
processDictionary(byte[], int, int) - Method in class org.bolet.jgz.ZlibOutputStream
Process a dictionary: the buffer contents are used as dictionary.

R

read() - Method in class org.bolet.jgz.GZipInputStream
 
read(byte[]) - Method in class org.bolet.jgz.GZipInputStream
 
read(byte[], int, int) - Method in class org.bolet.jgz.GZipInputStream
 
read() - Method in class org.bolet.jgz.ZlibInputStream
 
read(byte[]) - Method in class org.bolet.jgz.ZlibInputStream
 
read(byte[], int, int) - Method in class org.bolet.jgz.ZlibInputStream
 
readAll(byte[], int, int) - Method in class org.bolet.jgz.Inflater
Uncompress some data.
readBlock(byte[], int, int) - Method in class org.bolet.jgz.Inflater
Uncompress some data from the current block.
reset() - Method in class org.bolet.jgz.Deflater
Reset the internal tables.
reset() - Method in class org.bolet.jgz.DeflaterStateMachine
Reset the machine to its initial state.
reset(InputStream) - Method in class org.bolet.jgz.Inflater
Reset the engine, to work over the provided stream.

S

setDictionary(byte[]) - Method in class org.bolet.jgz.DeflaterStateMachine
Set the dictionary.
setDictionary(byte[], int, int) - Method in class org.bolet.jgz.DeflaterStateMachine
Set the dictionary.
setInput(byte[]) - Method in class org.bolet.jgz.DeflaterStateMachine
Insert new input data.
setInput(byte[], int, int) - Method in class org.bolet.jgz.DeflaterStateMachine
Insert new input data.
setOut(OutputStream) - Method in class org.bolet.jgz.Deflater
Set the current output transport stream.
setRawStream(InputStream) - Method in class org.bolet.jgz.Inflater
Change the input stream, but keep the running state.
setRawStream(InputStream) - Method in class org.bolet.jgz.ZlibInputStream
Change the raw stream used to get compressed data bytes.
SPEED - Static variable in class org.bolet.jgz.Deflater
Compression level 2: optimize for speed.
START - Static variable in class org.bolet.jgz.CRC
The initial value for a CRC (this is the "all-one" constant).

T

terminate() - Method in class org.bolet.jgz.Deflater
Terminate the current compression run.
terminate() - Method in class org.bolet.jgz.GZipOutputStream
Close the compression stream but do not close the transport stream.
terminate() - Method in class org.bolet.jgz.ZlibOutputStream
Close the compression stream but do not close the transport stream.

U

update(int) - Method in class org.bolet.jgz.Adler32
Update the cheksum with the provided input byte.
update(byte[]) - Method in class org.bolet.jgz.Adler32
Update the cheksum with the provided input bytes.
update(byte[], int, int) - Method in class org.bolet.jgz.Adler32
Update the cheksum with the provided input bytes.
updateCRC(int, int) - Static method in class org.bolet.jgz.CRC
Update a CRC value with a data byte.
updateCRC(int, byte[]) - Static method in class org.bolet.jgz.CRC
Update a CRC value with several data bytes
updateCRC(int, byte[], int, int) - Static method in class org.bolet.jgz.CRC
Update a CRC value with several data bytes

W

write(int) - Method in class org.bolet.jgz.GZipOutputStream
 
write(byte[]) - Method in class org.bolet.jgz.GZipOutputStream
 
write(byte[], int, int) - Method in class org.bolet.jgz.GZipOutputStream
 
write(int) - Method in class org.bolet.jgz.ZlibOutputStream
 
write(byte[]) - Method in class org.bolet.jgz.ZlibOutputStream
 
write(byte[], int, int) - Method in class org.bolet.jgz.ZlibOutputStream
 

Z

ZlibInputStream - Class in org.bolet.jgz
This class implements a decoder stream for a compressed data stream in zlib format (RFC 1950).
ZlibInputStream(InputStream) - Constructor for class org.bolet.jgz.ZlibInputStream
Create the stream.
ZlibInputStream(InputStream, boolean) - Constructor for class org.bolet.jgz.ZlibInputStream
Create the stream.
ZlibOutputStream - Class in org.bolet.jgz
This class implements a stream which compresses data into the zlib format (RFC 1950).
ZlibOutputStream(OutputStream) - Constructor for class org.bolet.jgz.ZlibOutputStream
Create the stream with the provided transport stream.
ZlibOutputStream(OutputStream, int) - Constructor for class org.bolet.jgz.ZlibOutputStream
Create the stream with the provided transport stream.

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