public class CBZip2OutputStream extends java.io.OutputStream implements BZip2Constants
| Modifier and Type | Field and Description |
|---|---|
protected static int |
CLEARMASK |
protected static int |
DEPTH_THRESH |
protected static int |
GREATER_ICOST |
protected static int |
LESSER_ICOST |
protected static int |
QSORT_STACK_SIZE |
protected static int |
SETMASK |
protected static int |
SMALL_THRESH |
baseBlockSize, G_SIZE, MAX_ALPHA_SIZE, MAX_CODE_LEN, MAX_SELECTORS, N_GROUPS, N_ITERS, NUM_OVERSHOOT_BYTES, rNums, RUNA, RUNB| Constructor and Description |
|---|
CBZip2OutputStream(java.io.OutputStream inStream) |
CBZip2OutputStream(java.io.OutputStream inStream,
int inBlockSize) |
protected static final int SETMASK
protected static final int CLEARMASK
protected static final int GREATER_ICOST
protected static final int LESSER_ICOST
protected static final int SMALL_THRESH
protected static final int DEPTH_THRESH
protected static final int QSORT_STACK_SIZE
public CBZip2OutputStream(java.io.OutputStream inStream)
throws java.io.IOException
java.io.IOExceptionpublic CBZip2OutputStream(java.io.OutputStream inStream,
int inBlockSize)
throws java.io.IOException
java.io.IOExceptionprotected static void hbMakeCodeLengths(char[] len,
int[] freq,
int alphaSize,
int maxLen)
public void write(int bv)
throws java.io.IOException
write in class java.io.OutputStreamjava.io.IOExceptionprotected void finalize()
throws java.lang.Throwable
finalize in class java.lang.Objectjava.lang.Throwablepublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.OutputStreamjava.io.IOExceptionpublic void finish()
throws java.io.IOException
java.io.IOExceptionpublic void flush()
throws java.io.IOException
flush in interface java.io.Flushableflush in class java.io.OutputStreamjava.io.IOException