Package org.biojava.utils.io
Interface Seekable
-
- All Known Subinterfaces:
ABIFParser.DataAccess
- All Known Implementing Classes:
CachingInputStream
public interface Seekable
This interface provides a collective name for IO classes that implement a seek function (e.g.,RandomAccessFile
).- Author:
- Rhett Sutphin (UI CBCB)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
seek(long pos)
Moves the pointer in the inputstream such that the byte starting atpos
are returned by the next read.
-
-
-
Method Detail
-
seek
void seek(long pos) throws IOException
Moves the pointer in the inputstream such that the byte starting atpos
are returned by the next read.- Parameters:
pos
- the position to which to seek- Throws:
IOException
- when there's an I/O problem
-
-