@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
IOException
long getPos() throws IOException
IOException
Copyright © 2019 Apache Software Foundation. All rights reserved.