loci.formats.in
Class CBZip2InputStream

java.lang.Object
  extended by java.io.InputStream
      extended by loci.formats.in.CBZip2InputStream
All Implemented Interfaces:
Closeable, BZip2Constants

public class CBZip2InputStream
extends InputStream
implements BZip2Constants

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


Field Summary
protected  int ch2
           
protected  int chPrev
           
protected  int count
           
protected  int i
           
protected  int i2
           
protected  int j2
           
protected  int rNToGo
           
protected  int rTPos
           
protected  int tPos
           
protected  char z
           
 
Fields inherited from interface loci.formats.in.BZip2Constants
BASE_BLOCK_SIZE, G_SIZE, MAX_ALPHA_SIZE, MAX_CODE_LEN, MAX_SELECTORS, N_GROUPS, N_ITERS, NUM_OVERSHOOT_BYTES, R_NUMS, RUNA, RUNB
 
Constructor Summary
CBZip2InputStream(InputStream zStream)
           
 
Method Summary
 int read()
           
 
Methods inherited from class java.io.InputStream
available, close, 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

i2

protected int i2

count

protected int count

chPrev

protected int chPrev

ch2

protected int ch2

i

protected int i

tPos

protected int tPos

rNToGo

protected int rNToGo

rTPos

protected int rTPos

j2

protected int j2

z

protected char z
Constructor Detail

CBZip2InputStream

public CBZip2InputStream(InputStream zStream)
Method Detail

read

public int read()
Specified by:
read in class InputStream