Skip navigation links
A B C D E F G H I M N O R U V W 

A

allocateHuffmanCodeLengths(int[], int) - Static method in class org.itadaki.bzip2.HuffmanAllocator
Allocates Canonical Huffman code lengths in place based on a sorted frequency array

B

bwt() - Method in class org.itadaki.bzip2.BZip2DivSufSort
Performs a Burrows Wheeler Transform on the input array
BZip2BitInputStream - Class in org.itadaki.bzip2
An InputStream wrapper that allows the reading of single bit booleans, unary numbers, bit strings of arbitrary length (up to 24 bits), and bit aligned 32-bit integers.
BZip2BitInputStream(InputStream) - Constructor for class org.itadaki.bzip2.BZip2BitInputStream
 
BZip2BitOutputStream - Class in org.itadaki.bzip2
An OutputStream wrapper that allows the writing of single bit booleans, unary numbers, bit strings of arbitrary length (up to 24 bits), and bit aligned 32-bit integers.
BZip2BitOutputStream(OutputStream) - Constructor for class org.itadaki.bzip2.BZip2BitOutputStream
 
BZip2BlockCompressor - Class in org.itadaki.bzip2
Compresses and writes a single BZip2 block
BZip2BlockCompressor(BZip2BitOutputStream, int) - Constructor for class org.itadaki.bzip2.BZip2BlockCompressor
 
BZip2BlockDecompressor - Class in org.itadaki.bzip2
Reads and decompresses a single BZip2 block
BZip2BlockDecompressor(BZip2BitInputStream, int) - Constructor for class org.itadaki.bzip2.BZip2BlockDecompressor
 
BZip2DivSufSort - Class in org.itadaki.bzip2
DivSufSort suffix array generator Based on libdivsufsort 1.2.3 patched to support BZip2 This is a simple conversion of the original C with two minor bugfixes applied (see "BUGFIX" comments within the class).
BZip2DivSufSort(byte[], int[], int) - Constructor for class org.itadaki.bzip2.BZip2DivSufSort
 
BZip2Exception - Exception in org.itadaki.bzip2
Indicates that a data format error was encountered while attempting to decode bzip2 data
BZip2Exception(String) - Constructor for exception org.itadaki.bzip2.BZip2Exception
 
BZip2HuffmanStageDecoder - Class in org.itadaki.bzip2
A decoder for the BZip2 Huffman coding stage
BZip2HuffmanStageDecoder(BZip2BitInputStream, int, byte[][], byte[]) - Constructor for class org.itadaki.bzip2.BZip2HuffmanStageDecoder
 
BZip2InputStream - Class in org.itadaki.bzip2
An InputStream wrapper that decompresses BZip2 data
BZip2InputStream(InputStream, boolean) - Constructor for class org.itadaki.bzip2.BZip2InputStream
 
BZip2MTFAndRLE2StageEncoder - Class in org.itadaki.bzip2
An encoder for the BZip2 Move To Front Transform and Run-Length Encoding[2] stages
Although conceptually these two stages are separate, it is computationally efficient to perform them in one pass.
BZip2MTFAndRLE2StageEncoder(int[], int, boolean[]) - Constructor for class org.itadaki.bzip2.BZip2MTFAndRLE2StageEncoder
 
BZip2OutputStream - Class in org.itadaki.bzip2
An OutputStream wrapper that compresses BZip2 data
BZip2OutputStream(OutputStream, int) - Constructor for class org.itadaki.bzip2.BZip2OutputStream
 
BZip2OutputStream(OutputStream) - Constructor for class org.itadaki.bzip2.BZip2OutputStream
Constructs a BZip2 stream compressor with the maximum (900,000 byte) block size

C

checkCRC() - Method in class org.itadaki.bzip2.BZip2BlockDecompressor
Verify and return the block CRC.
close() - Method in class org.itadaki.bzip2.BZip2BlockCompressor
Compresses and writes out the block
close() - Method in class org.itadaki.bzip2.BZip2InputStream
 
close() - Method in class org.itadaki.bzip2.BZip2OutputStream
 
Compress - Class in demo
A BZip2 file compressor.
Compress() - Constructor for class demo.Compress
 
CRC32 - Class in org.itadaki.bzip2
A CRC32 calculator
CRC32() - Constructor for class org.itadaki.bzip2.CRC32
 

D

Decompress - Class in demo
A BZip2 file decompressor.
Decompress() - Constructor for class demo.Decompress
 
demo - package demo
 

E

encode() - Method in class org.itadaki.bzip2.BZip2MTFAndRLE2StageEncoder
Performs the Move To Front transform and Run Length Encoding[1] stages

F

finish() - Method in class org.itadaki.bzip2.BZip2OutputStream
Compresses and writes out any as yet unwritten data, then writes the end of the BZip2 stream.
flush() - Method in class org.itadaki.bzip2.BZip2BitOutputStream
Writes any remaining bits to the output stream, zero padding to a whole byte as required

G

getCRC() - Method in class org.itadaki.bzip2.BZip2BlockCompressor
Gets the CRC of the completed block.
getCRC() - Method in class org.itadaki.bzip2.CRC32
 
getMtfAlphabetSize() - Method in class org.itadaki.bzip2.BZip2MTFAndRLE2StageEncoder
 
getMtfBlock() - Method in class org.itadaki.bzip2.BZip2MTFAndRLE2StageEncoder
 
getMtfLength() - Method in class org.itadaki.bzip2.BZip2MTFAndRLE2StageEncoder
 
getMtfSymbolFrequencies() - Method in class org.itadaki.bzip2.BZip2MTFAndRLE2StageEncoder
 

H

HuffmanAllocator - Class in org.itadaki.bzip2
An in-place, length restricted Canonical Huffman code length allocator Based on the algorithm proposed by R.

I

indexToFront(int) - Method in class org.itadaki.bzip2.MoveToFront
Gets the value from a given index and moves it to the front of the MTF list (inverse Move To Front transform)
isEmpty() - Method in class org.itadaki.bzip2.BZip2BlockCompressor
Determines if any bytes have been written to the block

M

main(String[]) - Static method in class demo.Compress
 
main(String[]) - Static method in class demo.Decompress
 
main(String[]) - Static method in class demo.RoundTrip
 
MoveToFront - Class in org.itadaki.bzip2
A 256 entry Move To Front transform
MoveToFront() - Constructor for class org.itadaki.bzip2.MoveToFront
 

N

nextSymbol() - Method in class org.itadaki.bzip2.BZip2HuffmanStageDecoder
Decodes and returns the next symbol

O

org.itadaki.bzip2 - package org.itadaki.bzip2
 

R

read() - Method in class org.itadaki.bzip2.BZip2BlockDecompressor
Decodes a byte from the final Run-Length Encoding stage, pulling a new byte from the Burrows-Wheeler Transform stage when required
read(byte[], int, int) - Method in class org.itadaki.bzip2.BZip2BlockDecompressor
Decodes multiple bytes from the final Run-Length Encoding stage, pulling new bytes from the Burrows-Wheeler Transform stage when required
read() - Method in class org.itadaki.bzip2.BZip2InputStream
 
read(byte[], int, int) - Method in class org.itadaki.bzip2.BZip2InputStream
 
readBits(int) - Method in class org.itadaki.bzip2.BZip2BitInputStream
Reads up to 24 bits from the wrapped input stream
readBoolean() - Method in class org.itadaki.bzip2.BZip2BitInputStream
Reads a single bit from the wrapped input stream
readInteger() - Method in class org.itadaki.bzip2.BZip2BitInputStream
Reads 32 bits of input as an integer
readUnary() - Method in class org.itadaki.bzip2.BZip2BitInputStream
Reads a zero-terminated unary number from the wrapped input stream
RoundTrip - Class in demo
Tests the compression/decompression cycle on a file or directory.
RoundTrip() - Constructor for class demo.RoundTrip
 

U

updateCRC(int) - Method in class org.itadaki.bzip2.CRC32
Update the CRC with a single byte
updateCRC(int, int) - Method in class org.itadaki.bzip2.CRC32
Update the CRC with a sequence of identical bytes

V

valueToFront(byte) - Method in class org.itadaki.bzip2.MoveToFront
Moves a value to the head of the MTF list (forward Move To Front transform)

W

write(int) - Method in class org.itadaki.bzip2.BZip2BlockCompressor
Writes a byte to the block, accumulating to an RLE run where possible
write(byte[], int, int) - Method in class org.itadaki.bzip2.BZip2BlockCompressor
Writes an array to the block
write(int) - Method in class org.itadaki.bzip2.BZip2OutputStream
 
write(byte[], int, int) - Method in class org.itadaki.bzip2.BZip2OutputStream
 
writeBits(int, int) - Method in class org.itadaki.bzip2.BZip2BitOutputStream
Writes up to 24 bits to the wrapped output stream
writeBoolean(boolean) - Method in class org.itadaki.bzip2.BZip2BitOutputStream
Writes a single bit to the wrapped output stream
writeInteger(int) - Method in class org.itadaki.bzip2.BZip2BitOutputStream
Writes an integer as 32 bits of output
writeUnary(int) - Method in class org.itadaki.bzip2.BZip2BitOutputStream
Writes a zero-terminated unary number to the wrapped output stream
A B C D E F G H I M N O R U V W 
Skip navigation links

Copyright © 2018. All rights reserved.