public interface SeekableStream
| Modifier and Type | Method and Description |
|---|---|
long |
getStreamSize()
Returns length of stream.
|
void |
seek(long position)
Moves position in stream to given position from the start of the stream.
|
void seek(long position) throws java.io.IOException
position - target positionjava.io.IOException - if input/output errorlong getStreamSize()