@InterfaceAudience.Public @InterfaceStability.Evolving public interface Seekable
| Modifier and Type | Method and Description |
|---|---|
long |
getPos()
Return the current offset from the start of the file
|
void |
seek(long pos)
Seek to the given offset from the start of the file.
|
boolean |
seekToNewSource(long targetPos)
Seeks a different copy of the data.
|
void seek(long pos)
throws IOException
IOExceptionlong getPos()
throws IOException
IOException@InterfaceAudience.Private boolean seekToNewSource(long targetPos) throws IOException
IOExceptionCopyright © 2013 Apache Software Foundation. All rights reserved.