org.apache.tools.bzip2

Interface BZip2Constants

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
G_SIZE
static int
MAX_ALPHA_SIZE
static int
MAX_CODE_LEN
static int
MAX_SELECTORS
static int
NUM_OVERSHOOT_BYTES
static int
N_GROUPS
static int
N_ITERS
static int
RUNA
static int
RUNB
static int
baseBlockSize
static int[]
rNums
This array really shouldn't be here.

Field Details

G_SIZE

public static final int G_SIZE
Field Value:
50

MAX_ALPHA_SIZE

public static final int MAX_ALPHA_SIZE
Field Value:
258

MAX_CODE_LEN

public static final int MAX_CODE_LEN
Field Value:
23

MAX_SELECTORS

public static final int MAX_SELECTORS
Field Value:
18002

NUM_OVERSHOOT_BYTES

public static final int NUM_OVERSHOOT_BYTES
Field Value:
20

N_GROUPS

public static final int N_GROUPS
Field Value:
6

N_ITERS

public static final int N_ITERS
Field Value:
4

RUNA

public static final int RUNA
Field Value:
0

RUNB

public static final int RUNB
Field Value:
1

baseBlockSize

public static final int baseBlockSize
Field Value:
100000

rNums

public 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.