Index (Frames) | Index (No Frames) | Package | Package Tree | Tree
java.util.zip

Class InflaterHuffmanTree

java.lang.Object
|
+--java.util.zip.InflaterHuffmanTree


public class InflaterHuffmanTree

extends Object

Field Summary

static java.util.zip.InflaterHuffmanTreedefLitLenTree, defDistTree

Constructor Summary

InflaterHuffmanTree(byte[] codeLengths)

Constructs a Huffman tree from the array of code lengths.

Method Summary

intgetSymbol(java.util.zip.StreamManipulator input)

Reads the next symbol from input.

Field Details

defLitLenTree, defDistTree

public static InflaterHuffmanTree defLitLenTree, defDistTree


Constructor Details

InflaterHuffmanTree

public InflaterHuffmanTree(byte[] codeLengths)

Constructs a Huffman tree from the array of code lengths.

Parameters:


Method Details

getSymbol

public int getSymbol(java.util.zip.StreamManipulator input)

Reads the next symbol from input. The symbol is encoded using the huffman tree.

Parameters:

Returns: