it.geosolutions.imageio.stream.input
Class FilterImageInputStream

Object
  extended by ImageInputStreamImpl
      extended by FilterImageInputStream
All Implemented Interfaces:
DataInput, ImageInputStream
Direct Known Subclasses:
InflaterImageInputStream

public abstract class FilterImageInputStream
extends ImageInputStreamImpl
implements ImageInputStream

Decorator class for the ImageInputStream subclasses.

Author:
Simone Giannecchini, GeoSolutions

Field Summary
protected  ImageInputStream iis
           
 
Fields inherited from class ImageInputStreamImpl
bitOffset, byteOrder, flushedPos, streamPos
 
Constructor Summary
FilterImageInputStream()
          Default constructor
FilterImageInputStream(ImageInputStream iis)
          The constructor
 
Method Summary
 ByteOrder getByteOrder()
           
 boolean isCached()
           
 boolean isCachedFile()
           
 boolean isCachedMemory()
           
 void setBitOffset(int bitOffset)
           
 void setByteOrder(ByteOrder byteOrder)
           
 int skipBytes(int n)
           
 
Methods inherited from class ImageInputStreamImpl
checkClosed, close, finalize, flush, flushBefore, getBitOffset, getFlushedPosition, getStreamPosition, length, mark, read, read, 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, seek, skipBytes
 
Methods inherited from class Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface ImageInputStream
close, flush, flushBefore, getBitOffset, getFlushedPosition, getStreamPosition, length, mark, read, read, 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, seek, skipBytes
 

Field Detail

iis

protected ImageInputStream iis
Constructor Detail

FilterImageInputStream

public FilterImageInputStream(ImageInputStream iis)
The constructor


FilterImageInputStream

public FilterImageInputStream()
Default constructor

Method Detail

isCached

public boolean isCached()
Specified by:
isCached in interface ImageInputStream
Overrides:
isCached in class ImageInputStreamImpl

isCachedFile

public boolean isCachedFile()
Specified by:
isCachedFile in interface ImageInputStream
Overrides:
isCachedFile in class ImageInputStreamImpl

isCachedMemory

public boolean isCachedMemory()
Specified by:
isCachedMemory in interface ImageInputStream
Overrides:
isCachedMemory in class ImageInputStreamImpl

skipBytes

public int skipBytes(int n)
              throws IOException
Specified by:
skipBytes in interface DataInput
Specified by:
skipBytes in interface ImageInputStream
Overrides:
skipBytes in class ImageInputStreamImpl
Throws:
IOException

setBitOffset

public void setBitOffset(int bitOffset)
                  throws IOException
Specified by:
setBitOffset in interface ImageInputStream
Overrides:
setBitOffset in class ImageInputStreamImpl
Throws:
IOException

getByteOrder

public ByteOrder getByteOrder()
Specified by:
getByteOrder in interface ImageInputStream
Overrides:
getByteOrder in class ImageInputStreamImpl

setByteOrder

public void setByteOrder(ByteOrder byteOrder)
Specified by:
setByteOrder in interface ImageInputStream
Overrides:
setByteOrder in class ImageInputStreamImpl


Copyright © 2006-2010 GeoSolutions. All Rights Reserved.