AccessibleStream
insteadpublic interface FileImageOutputStreamExt extends ImageOutputStream, AccessibleStream<File>
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.
Modifier and Type | Method and Description |
---|---|
File |
getFile()
Deprecated.
Returns the associated
File |
flushBefore, write, write, write, writeBit, writeBits, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeChars, writeDouble, writeDoubles, writeFloat, writeFloats, writeInt, writeInts, writeLong, writeLongs, writeShort, writeShorts, writeUTF
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
getBinding, getTarget
Copyright © 2006-2018 GeoSolutions. All Rights Reserved.