Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.imagero.uio.io
Class PackBitsInputStream  view PackBitsInputStream download PackBitsInputStream.java

java.lang.Object
  extended byjava.io.InputStream
      extended byjava.io.FilterInputStream
          extended bycom.imagero.uio.io.PackBitsInputStream
All Implemented Interfaces:
java.io.Closeable

public class PackBitsInputStream
extends java.io.FilterInputStream

PackBits decoder


Field Summary
(package private)  boolean copyLiter
           
(package private)  boolean finished
           
(package private)  int numSamples
           
(package private)  int value
           
 
Fields inherited from class java.io.FilterInputStream
in
 
Constructor Summary
PackBitsInputStream(java.io.InputStream in)
           
 
Method Summary
 int available()
          Calls the in.available() method.
 void close()
          This method closes the input stream by closing the input stream that this object is filtering.
 void mark(int readlimit)
          Calls the in.mark(int) method.
 boolean markSupported()
          Calls the in.markSupported() method.
 int read()
          Calls the in.read() method
 int read(byte[] b)
          Calls the read(byte[], int, int) overloaded method.
 int read(byte[] b, int off, int len)
          Calls the in.read(byte[], int, int) method.
(package private)  byte read128()
           
 void reset()
          Calls the in.reset() method.
 
Methods inherited from class java.io.FilterInputStream
skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

finished

boolean finished

numSamples

int numSamples

value

int value

copyLiter

boolean copyLiter
Constructor Detail

PackBitsInputStream

public PackBitsInputStream(java.io.InputStream in)
Method Detail

available

public int available()
              throws java.io.IOException
Description copied from class: java.io.FilterInputStream
Calls the in.available() method.


close

public void close()
           throws java.io.IOException
Description copied from class: java.io.FilterInputStream
This method closes the input stream by closing the input stream that this object is filtering. Future attempts to access this stream may throw an exception.


markSupported

public boolean markSupported()
Description copied from class: java.io.FilterInputStream
Calls the in.markSupported() method.


mark

public void mark(int readlimit)
Description copied from class: java.io.FilterInputStream
Calls the in.mark(int) method.


reset

public void reset()
           throws java.io.IOException
Description copied from class: java.io.FilterInputStream
Calls the in.reset() method.


read

public int read(byte[] b)
         throws java.io.IOException
Description copied from class: java.io.FilterInputStream
Calls the read(byte[], int, int) overloaded method. Note that this method does not redirect its call directly to a corresponding method in in. This allows subclasses to override only the three argument version of read.


read

public int read(byte[] b,
                int off,
                int len)
         throws java.io.IOException
Description copied from class: java.io.FilterInputStream
Calls the in.read(byte[], int, int) method.


read

public int read()
         throws java.io.IOException
Description copied from class: java.io.FilterInputStream
Calls the in.read() method


read128

byte read128()
       throws java.io.IOException