org.apache.commons.compress.compressors.bzip2
Class BZip2InputStream
java.lang.Object
java.io.InputStream
org.apache.commons.compress.compressors.bzip2.BZip2InputStream
- All Implemented Interfaces:
- Closeable
public class BZip2InputStream
- extends InputStream
An input stream that decompresses from the BZip2 format (without the file
header chars) to be read as any other stream.
- Author:
- Keiron Liddle
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BASE_BLOCK_SIZE
public static final int BASE_BLOCK_SIZE
- See Also:
- Constant Field Values
MAX_ALPHA_SIZE
public static final int MAX_ALPHA_SIZE
- See Also:
- Constant Field Values
MAX_CODE_LEN
public static final int MAX_CODE_LEN
- See Also:
- Constant Field Values
RUNA
public static final int RUNA
- See Also:
- Constant Field Values
RUNB
public static final int RUNB
- See Also:
- Constant Field Values
N_GROUPS
public static final int N_GROUPS
- See Also:
- Constant Field Values
G_SIZE
public static final int G_SIZE
- See Also:
- Constant Field Values
N_ITERS
public static final int N_ITERS
- See Also:
- Constant Field Values
MAX_SELECTORS
public static final int MAX_SELECTORS
- See Also:
- Constant Field Values
NUM_OVERSHOOT_BYTES
public static final int NUM_OVERSHOOT_BYTES
- See Also:
- Constant Field Values
RAND_NUMS
public static final int[] RAND_NUMS
BZip2InputStream
public BZip2InputStream(InputStream input)
- Initializes ein CBZip2 InputStream with the give
InputStream
- Parameters:
input
- the InputStream to initialize with
read
public int read()
- Specified by:
read
in class InputStream
close
public void close()
throws IOException
- Specified by:
close
in interface Closeable
- Overrides:
close
in class InputStream
- Throws:
IOException
Copyright © 2011 Apache Software Foundation. All Rights Reserved.