@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
pos - offset from the start of the file.IOException - raised on errors performing I/O.long getPos()
     throws IOException
IOException - raised on errors performing I/O.Copyright © 2023 Apache Software Foundation. All rights reserved.