Interface RepositionableStream
- All Known Implementing Classes:
ArraySeekInputStream, BufferedSeekInputStream, OriginSeekInputStream, RandomAccessInputStream, ReplayInputStream, RepositionableInputStream, SafeSeekInputStream, SeekInputStream, SeekReader
public interface RepositionableStream
A basic interface specifying positioning methods for a byte stream.
- Since:
- 4.4
- Author:
- Sebastiano Vigna
-
Method Summary
-
Method Details
-
position
Sets the current stream position.- Parameters:
newPosition- the new stream position.- Throws:
IOException
-
position
Returns the current stream position.- Returns:
- the current stream position.
- Throws:
IOException
-