@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.
|
void seek(long pos) throws IOException
IOExceptionlong getPos()
throws IOException
IOExceptionCopyright © 2008–2022 Apache Software Foundation. All rights reserved.