public interface RepositionableStream
Modifier and Type | Method and Description |
---|---|
long |
position()
Returns the current stream position.
|
void |
position(long newPosition)
Sets the current stream position.
|
void position(long newPosition) throws java.io.IOException
newPosition
- the new stream position.java.io.IOException
long position() throws java.io.IOException
java.io.IOException