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 |
SETMASK |
protected static int |
SMALL_THRESH |
baseBlockSize, G_SIZE, MAX_ALPHA_SIZE, MAX_CODE_LEN, MAX_CODE_LEN_GEN, MAX_SELECTORS, N_GROUPS, N_ITERS, NUM_OVERSHOOT_BYTES, RUNA, RUNB
Constructor and Description |
---|
CBZip2OutputStream(java.io.OutputStream outStream) |
CBZip2OutputStream(java.io.OutputStream outStream,
int blockSize) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
protected void |
finalize() |
void |
finish() |
void |
flush() |
protected static void |
hbMakeCodeLengths(byte[] len,
int[] freq,
int alphaSize,
int maxLen) |
void |
write(int bv)
modified by Oliver Merkel, 010128
|
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
public CBZip2OutputStream(java.io.OutputStream outStream) throws java.io.IOException
java.io.IOException
public CBZip2OutputStream(java.io.OutputStream outStream, int blockSize) throws java.io.IOException
java.io.IOException
protected static void hbMakeCodeLengths(byte[] len, int[] freq, int alphaSize, int maxLen)
public void write(int bv) throws java.io.IOException
write
in class java.io.OutputStream
java.io.IOException
protected void finalize() throws java.lang.Throwable
finalize
in class java.lang.Object
java.lang.Throwable
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in class java.io.OutputStream
java.io.IOException
public void finish() throws java.io.IOException
java.io.IOException
public void flush() throws java.io.IOException
flush
in interface java.io.Flushable
flush
in class java.io.OutputStream
java.io.IOException