it.geosolutions.imageio.stream.output
Interface FileImageOutputStreamExt

All Superinterfaces:
DataInput, DataOutput, ImageInputStream, ImageOutputStream
All Known Implementing Classes:
FileImageOutputStreamExtImpl

public interface FileImageOutputStreamExt
extends ImageOutputStream

Interfaces for for ImageOutputStream subclasses that exclusively points to a File object.

Such an ImageOutputStream internally uses an EnhancedRandomAccessFile which basically is a RandomAccessFile with buffering.

Overall performance is improved with respect to simple FileImageOutputStream. Some simplicistic tests showed that performances are close to the performances of the FileChannelImageOutputStream but without the burden of using FileChannel which on some platform with some older versions of Java can be problematic.

Author:
Daniele Romagnoli, GeoSolutions, Simone Giannecchini, GeoSolutions

Method Summary
 File getFile()
          Returns the associated File
 
Methods inherited from interface ImageOutputStream
flushBefore, write, write, write, writeBit, writeBits, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeChars, writeDouble, writeDoubles, writeFloat, writeFloats, writeInt, writeInts, writeLong, writeLongs, writeShort, writeShorts, writeUTF
 
Methods inherited from interface ImageInputStream
close, flush, 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
 

Method Detail

getFile

File getFile()
Returns the associated File

Returns:
the associated File


Copyright © 2006-2010 GeoSolutions. All Rights Reserved.