public class CBZip2OutputStream extends 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(OutputStream inStream) |
CBZip2OutputStream(OutputStream inStream,
int inBlockSize) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
protected void |
finalize() |
void |
flush() |
protected static void |
hbMakeCodeLengths(char[] len,
int[] freq,
int alphaSize,
int maxLen) |
void |
write(int bv)
modified by Oliver Merkel, 010128
|
write, write
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(OutputStream inStream) throws IOException
IOException
public CBZip2OutputStream(OutputStream inStream, int inBlockSize) throws IOException
IOException
protected static void hbMakeCodeLengths(char[] len, int[] freq, int alphaSize, int maxLen)
public void write(int bv) throws IOException
write
in class OutputStream
IOException
protected void finalize() throws Throwable
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class OutputStream
IOException
public void flush() throws IOException
flush
in interface Flushable
flush
in class OutputStream
IOException
Copyright © 2001-2012 Codehaus. All Rights Reserved.