it.geosolutions.imageio.stream.input.compressed
Class GZIPFilterFileImageInputStreamExt

java.lang.Object
  extended by javax.imageio.stream.ImageInputStreamImpl
      extended by it.geosolutions.imageio.stream.input.FilterImageInputStream
          extended by it.geosolutions.imageio.stream.input.compressed.InflaterImageInputStream
              extended by it.geosolutions.imageio.stream.input.compressed.GZIPImageInputStream
                  extended by it.geosolutions.imageio.stream.input.compressed.GZIPFilterFileImageInputStreamExt
All Implemented Interfaces:
AccessibleStream<File>, FileImageInputStreamExt, DataInput, ImageInputStream

public class GZIPFilterFileImageInputStreamExt
extends GZIPImageInputStream
implements FileImageInputStreamExt

Author:
Daniele Romagnoli, GeoSolutions, Simone Giannecchini, GeoSolutions

Field Summary
 
Fields inherited from class it.geosolutions.imageio.stream.input.compressed.GZIPImageInputStream
crc, eos, GZIP_MAGIC
 
Fields inherited from class it.geosolutions.imageio.stream.input.compressed.InflaterImageInputStream
buf, inf, len, singleByteBuf, usesDefaultInflater
 
Fields inherited from class it.geosolutions.imageio.stream.input.FilterImageInputStream
iis
 
Fields inherited from class javax.imageio.stream.ImageInputStreamImpl
bitOffset, byteOrder, flushedPos, streamPos
 
Constructor Summary
GZIPFilterFileImageInputStreamExt(File file)
           
GZIPFilterFileImageInputStreamExt(FileImageInputStreamExtImpl fiis)
           
 
Method Summary
 Class<File> getBinding()
          Retrieve the class for the target object.
 File getFile()
          return the associated file
 File getTarget()
          Retrieves the target object on which we work.
 
Methods inherited from class it.geosolutions.imageio.stream.input.compressed.GZIPImageInputStream
close, read
 
Methods inherited from class it.geosolutions.imageio.stream.input.compressed.InflaterImageInputStream
fill, mark, read, reset, seek, skipBytes, skipBytes
 
Methods inherited from class it.geosolutions.imageio.stream.input.FilterImageInputStream
getByteOrder, isCached, isCachedFile, isCachedMemory, setBitOffset, setByteOrder
 
Methods inherited from class javax.imageio.stream.ImageInputStreamImpl
checkClosed, finalize, flush, flushBefore, getBitOffset, getFlushedPosition, getStreamPosition, length, 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
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.imageio.stream.ImageInputStream
close, flush, flushBefore, getBitOffset, getByteOrder, getFlushedPosition, getStreamPosition, isCached, isCachedFile, isCachedMemory, 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, setBitOffset, setByteOrder, skipBytes, skipBytes
 

Constructor Detail

GZIPFilterFileImageInputStreamExt

public GZIPFilterFileImageInputStreamExt(File file)
                                  throws FileNotFoundException,
                                         IOException
Throws:
FileNotFoundException
IOException

GZIPFilterFileImageInputStreamExt

public GZIPFilterFileImageInputStreamExt(FileImageInputStreamExtImpl fiis)
                                  throws FileNotFoundException,
                                         IOException
Throws:
FileNotFoundException
IOException
Method Detail

getFile

public File getFile()
return the associated file

Specified by:
getFile in interface FileImageInputStreamExt
Returns:
the file

getTarget

public File getTarget()
Description copied from interface: AccessibleStream
Retrieves the target object on which we work.

Specified by:
getTarget in interface AccessibleStream<File>
Returns:
the target object on which we work.

getBinding

public Class<File> getBinding()
Description copied from interface: AccessibleStream
Retrieve the class for the target object.

Specified by:
getBinding in interface AccessibleStream<File>
Returns:
the class for the target object.


Copyright © 2006–2014 GeoSolutions. All rights reserved.