public interface SeekableStreamHandle<L extends Location> extends ResettableStreamHandle<L>
DataHandle backed by an InputStream and/or
OutputStream. Supports seeking to an arbitrary position within the
stream.DataHandle.ByteOrderDEFAULT_BLOCK_SIZE, MAX_SEARCH_SIZE| Modifier and Type | Method and Description |
|---|---|
void |
seek(long pos)
Sets the stream offset, measured from the beginning of the stream, at which
the next read or write occurs.
|
resetStreamadvance, close, ensureReadable, ensureWritable, in, jump, out, read, read, readByte, setOffset, write, write, writeByteavailable, checksum, conversionBuffer, exists, findString, findString, findString, findString, getEncoding, getOrder, isBigEndian, isLittleEndian, isReadable, isWritable, lastModified, length, offset, read, readBoolean, readChar, readCString, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readString, readString, readUnsignedByte, readUnsignedShort, readUTF, setEncoding, setLength, setLittleEndian, setOrder, skip, skipBytes, write, writeBoolean, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLine, writeLong, writeShort, writeUTFget, setgetIdentifier, logcontext, getContext, setContextcompareTo, getPriority, setPrioritygetInfo, setInfogetLocationgetVersionvoid seek(long pos) throws IOException
DataHandleseek in interface DataHandle<L extends Location>seek in interface ResettableStreamHandle<L extends Location>seek in interface StreamHandle<L extends Location>IOExceptionCopyright © 2015–2022 SciJava. All rights reserved.