imagecomparer.stream
Class DelimitedImageInputStream

java.lang.Object
  extended by javax.imageio.stream.ImageInputStreamImpl
      extended by imagecomparer.stream.DelimitedImageInputStream
All Implemented Interfaces:
java.io.DataInput, javax.imageio.stream.ImageInputStream

public class DelimitedImageInputStream
extends javax.imageio.stream.ImageInputStreamImpl

Class: imagecomparer.stream.DelimitedImageInputStream Version: ? Date: 2004-04-25 10:58:51 Description: ? COPYRIGHT: This software module was originally developed by Pawel Halasa.


Field Summary
protected  int available
           
protected static int bytesLimit
           
 
Fields inherited from class javax.imageio.stream.ImageInputStreamImpl
bitOffset, byteOrder, flushedPos, streamPos
 
Constructor Summary
DelimitedImageInputStream(javax.imageio.stream.ImageInputStream is)
           
 
Method Summary
static int getCapacity()
           
static void pause()
           
 int read()
           
 int read(byte[] b, int off, int len)
           
 void restartSteam()
           
static void resume()
           
 void seek(long pos)
           
static void setCapacity(int cap)
           
 
Methods inherited from class javax.imageio.stream.ImageInputStreamImpl
checkClosed, close, finalize, flush, flushBefore, getBitOffset, getByteOrder, getFlushedPosition, getStreamPosition, isCached, isCachedFile, isCachedMemory, length, mark, read, readBit, readBits, readBoolean, readByte, readBytes, readChar, readDouble, readFloat, readFully, readFully, readFully, readFully, readFully, readFully, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedInt, readUnsignedShort, readUTF, reset, setBitOffset, setByteOrder, skipBytes, skipBytes
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

bytesLimit

protected static int bytesLimit

available

protected int available
Constructor Detail

DelimitedImageInputStream

public DelimitedImageInputStream(javax.imageio.stream.ImageInputStream is)
Method Detail

pause

public static void pause()

resume

public static void resume()

setCapacity

public static void setCapacity(int cap)

getCapacity

public static int getCapacity()

restartSteam

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

read

public int read()
         throws java.io.IOException
Specified by:
read in interface javax.imageio.stream.ImageInputStream
Specified by:
read in class javax.imageio.stream.ImageInputStreamImpl
Throws:
java.io.IOException

read

public int read(byte[] b,
                int off,
                int len)
         throws java.io.IOException
Specified by:
read in interface javax.imageio.stream.ImageInputStream
Specified by:
read in class javax.imageio.stream.ImageInputStreamImpl
Throws:
java.io.IOException

seek

public void seek(long pos)
          throws java.io.IOException
Specified by:
seek in interface javax.imageio.stream.ImageInputStream
Overrides:
seek in class javax.imageio.stream.ImageInputStreamImpl
Throws:
java.io.IOException