com.jguild.jrpm.io.bzip2
Class CBZip2InputStream

java.lang.Object
  extended byjava.io.InputStream
      extended bycom.jguild.jrpm.io.bzip2.CBZip2InputStream
All Implemented Interfaces:
BZip2Constants

public class CBZip2InputStream
extends java.io.InputStream
implements BZip2Constants

An input stream that decompresses from the BZip2 format (without the file header chars) to be read as any other stream.

Author:
Keiron Liddle

Field Summary
static int BASE_BLOCK_SIZE
           
static int G_SIZE
           
static int MAX_ALPHA_SIZE
           
static int MAX_CODE_LEN
           
static int MAX_SELECTORS
           
static int N_GROUPS
           
static int N_ITERS
           
static int NUM_OVERSHOOT_BYTES
           
static int[] RAND_NUMS
           
static int RUNA
           
static int RUNB
           
 
Constructor Summary
CBZip2InputStream(java.io.InputStream input)
           
 
Method Summary
 void close()
           
 int read()
           
 
Methods inherited from class java.io.InputStream
available, mark, markSupported, read, read, reset, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

CBZip2InputStream

public CBZip2InputStream(java.io.InputStream input)
Method Detail

read

public int read()

close

public void close()
           throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2002-2005 Sourceforge. All Rights Reserved.