org.apache.excalibur.bzip2
Class CBZip2OutputStream
java.lang.Object
|
+--java.io.OutputStream
|
+--org.apache.excalibur.bzip2.CBZip2OutputStream
- All Implemented Interfaces:
- org.apache.excalibur.bzip2.BZip2Constants
- public class CBZip2OutputStream
- extends OutputStream
- implements org.apache.excalibur.bzip2.BZip2Constants
An output stream that compresses into the BZip2 format (without the file
header chars) into another stream. TODO: Update to BZip2 1.0.1
- Author:
- Keiron Liddle
BASE_BLOCK_SIZE
public static final int BASE_BLOCK_SIZE
MAX_ALPHA_SIZE
public static final int MAX_ALPHA_SIZE
MAX_CODE_LEN
public static final int MAX_CODE_LEN
RUNA
public static final int RUNA
RUNB
public static final int RUNB
N_GROUPS
public static final int N_GROUPS
G_SIZE
public static final int G_SIZE
N_ITERS
public static final int N_ITERS
MAX_SELECTORS
public static final int MAX_SELECTORS
NUM_OVERSHOOT_BYTES
public static final int NUM_OVERSHOOT_BYTES
RAND_NUMS
public static final int[] RAND_NUMS
CBZip2OutputStream
public CBZip2OutputStream(OutputStream output)
throws IOException
CBZip2OutputStream
public CBZip2OutputStream(OutputStream output,
int blockSize)
throws IOException
close
public void close()
throws IOException
- Overrides:
close
in class OutputStream
finalize
public void finalize()
throws Throwable
- Overrides:
finalize
in class Object
flush
public void flush()
throws IOException
- Overrides:
flush
in class OutputStream
write
public void write(int bv)
throws IOException
- modified by Oliver Merkel, 010128
- Overrides:
write
in class OutputStream
- Parameters:
bv
- Description of Parameter- Throws:
IOException
- Description of Exception
"Copyright © 2000-2002 Apache Jakarta Project. All Rights Reserved."