org.apache.tools.bzip2
Class CBZip2OutputStream
OutputStream
org.apache.tools.bzip2.CBZip2OutputStream
- BZip2Constants
public class CBZip2OutputStream
extends OutputStream
An output stream that compresses into the BZip2 format (without the file
header chars) into another stream.
TODO: Update to BZip2 1.0.1
G_SIZE , MAX_ALPHA_SIZE , MAX_CODE_LEN , MAX_SELECTORS , NUM_OVERSHOOT_BYTES , N_GROUPS , N_ITERS , RUNA , RUNB , baseBlockSize , rNums |
CLEARMASK
protected static final int CLEARMASK
DEPTH_THRESH
protected static final int DEPTH_THRESH
GREATER_ICOST
protected static final int GREATER_ICOST
LESSER_ICOST
protected static final int LESSER_ICOST
QSORT_STACK_SIZE
protected static final int QSORT_STACK_SIZE
SETMASK
protected static final int SETMASK
SMALL_THRESH
protected static final int SMALL_THRESH
CBZip2OutputStream
public CBZip2OutputStream(OutputStream inStream)
throws IOException
CBZip2OutputStream
public CBZip2OutputStream(OutputStream inStream,
int inBlockSize)
throws IOException
close
public void close()
throws IOException
finalize
protected void finalize()
throws Throwable
flush
public void flush()
throws IOException
hbMakeCodeLengths
protected static void hbMakeCodeLengths(char[] len,
int[] freq,
int alphaSize,
int maxLen)
write
public void write(int bv)
throws IOException
modified by Oliver Merkel, 010128
Copyright B) 2000-2006 Apache Software Foundation. All Rights Reserved.