public class CBZip2InputStream extends java.io.InputStream implements BZip2Constants
baseBlockSize, G_SIZE, MAX_ALPHA_SIZE, MAX_CODE_LEN, MAX_SELECTORS, N_GROUPS, N_ITERS, NUM_OVERSHOOT_BYTES, rNums, RUNA, RUNB
Constructor and Description |
---|
CBZip2InputStream() |
CBZip2InputStream(java.io.InputStream zStream) |
CBZip2InputStream(java.io.InputStream zStream,
boolean skip) |
Modifier and Type | Method and Description |
---|---|
int |
read()
Reads the stream.
|
void |
setStream(java.io.InputStream zStream)
Added 5-30-2006 to allow for resetting of the input used
by this object.
|
public CBZip2InputStream()
public CBZip2InputStream(java.io.InputStream zStream)
public CBZip2InputStream(java.io.InputStream zStream, boolean skip) throws java.io.IOException
java.io.IOException
public void setStream(java.io.InputStream zStream)
public int read()
read
in class java.io.InputStream
BZip2ReadException
- if there is a problem. InputStream does
not throw an IOException, so we throw a RuntimeException.