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

Object
  extended by ImageInputStreamImpl
      extended by FilterImageInputStream
          extended by InflaterImageInputStream
              extended by GZIPImageInputStream
                  extended by 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 GZIPImageInputStream
crc, eos, GZIP_MAGIC
 
Fields inherited from class InflaterImageInputStream
buf, inf, len, singleByteBuf, usesDefaultInflater
 
Fields inherited from class FilterImageInputStream
iis
 
Fields inherited from class 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 GZIPImageInputStream
close, read
 
Methods inherited from class InflaterImageInputStream
fill, mark, read, reset, seek, skipBytes, skipBytes
 
Methods inherited from class FilterImageInputStream
getByteOrder, isCached, isCachedFile, isCachedMemory, setBitOffset, setByteOrder
 
Methods inherited from class 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 Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface 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-2016 GeoSolutions. All Rights Reserved.