Encoder
Class EncoderTypeSelector

java.lang.Object
  extended by Encoder.EncoderTypeSelector

public class EncoderTypeSelector
extends java.lang.Object


Field Summary
static int GENERIC_COMPRESSION
           
static int HUFFMAN_COMPRESSION
           
 
Constructor Summary
EncoderTypeSelector()
           
 
Method Summary
static Flat2Bin getCompressor(CodedFile encodedTreeFile, DataStructure breathFirstDataStructure, MyDataOutPutStream dos, Configuration configuration)
           
static java.lang.String getNameForCompressionType(int type)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GENERIC_COMPRESSION

public static final int GENERIC_COMPRESSION
See Also:
Constant Field Values

HUFFMAN_COMPRESSION

public static final int HUFFMAN_COMPRESSION
See Also:
Constant Field Values
Constructor Detail

EncoderTypeSelector

public EncoderTypeSelector()
Method Detail

getCompressor

public static Flat2Bin getCompressor(CodedFile encodedTreeFile,
                                     DataStructure breathFirstDataStructure,
                                     MyDataOutPutStream dos,
                                     Configuration configuration)

getNameForCompressionType

public static java.lang.String getNameForCompressionType(int type)