org.apache.hadoop.io.compress.bzip2
Interface BZip2Constants

All Known Implementing Classes:
CBZip2InputStream, CBZip2OutputStream

public interface BZip2Constants

Base class for both the compress and decompress classes. Holds common arrays, and static data.

This interface is public for historical purposes. You should have no need to use it.


Field Summary
static int baseBlockSize
           
static int END_OF_BLOCK
          End of a BZip2 block
static int END_OF_STREAM
          End of BZip2 stream.
static int G_SIZE
           
static int MAX_ALPHA_SIZE
           
static int MAX_CODE_LEN
           
static int MAX_SELECTORS
           
static int N_GROUPS
           
static int N_ITERS
           
static int NUM_OVERSHOOT_BYTES
           
static int[] rNums
          This array really shouldn't be here.
static int RUNA
           
static int RUNB
           
 

Field Detail

baseBlockSize

static final int baseBlockSize
See Also:
Constant Field Values

MAX_ALPHA_SIZE

static final int MAX_ALPHA_SIZE
See Also:
Constant Field Values

MAX_CODE_LEN

static final int MAX_CODE_LEN
See Also:
Constant Field Values

RUNA

static final int RUNA
See Also:
Constant Field Values

RUNB

static final int RUNB
See Also:
Constant Field Values

N_GROUPS

static final int N_GROUPS
See Also:
Constant Field Values

G_SIZE

static final int G_SIZE
See Also:
Constant Field Values

N_ITERS

static final int N_ITERS
See Also:
Constant Field Values

MAX_SELECTORS

static final int MAX_SELECTORS
See Also:
Constant Field Values

NUM_OVERSHOOT_BYTES

static final int NUM_OVERSHOOT_BYTES
See Also:
Constant Field Values

END_OF_BLOCK

static final int END_OF_BLOCK
End of a BZip2 block

See Also:
Constant Field Values

END_OF_STREAM

static final int END_OF_STREAM
End of BZip2 stream.

See Also:
Constant Field Values

rNums

static final int[] rNums
This array really shouldn't be here. Again, for historical purposes it is.

FIXME: This array should be in a private or package private location, since it could be modified by malicious code.



Copyright © 2009 The Apache Software Foundation