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

Quick Search    Search Deep

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

java.lang.Object
  extended byjava.io.InputStream
      extended byjava.io.FilterInputStream
          extended bycom.imagero.uio.io.RLEInputStream
All Implemented Interfaces:
java.io.Closeable
Direct Known Subclasses:
RLE4InputStream, RLE8InputStream, TargaRLEInputStream

public abstract class RLEInputStream
extends java.io.FilterInputStream


Nested Class Summary
static class RLEInputStream.DeltaRecordException
           
static class RLEInputStream.EndOfBitmapException
           
static class RLEInputStream.EndOfLineException
           
 
Field Summary
(package private)  boolean finished
           
 
Fields inherited from class java.io.FilterInputStream
in
 
Constructor Summary
RLEInputStream(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.
abstract  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.
 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
Constructor Detail

RLEInputStream

public RLEInputStream(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 abstract int read()
                  throws java.io.IOException
Description copied from class: java.io.FilterInputStream
Calls the in.read() method