public interface SeekableInput extends Closeable
| Modifier and Type | Method and Description | 
|---|---|
| long | length()Return the length of the file. | 
| int | read(byte[] b,
    int off,
    int len)Equivalent to  InputStream.read(byte[],int,int). | 
| void | seek(long p)Set the position for the next  read(). | 
| long | tell()Return the position of the next
  read(). | 
void seek(long p) throws IOException
read().IOExceptionlong tell() throws IOException
read().IOExceptionlong length()
     throws IOException
IOExceptionint read(byte[] b,
         int off,
         int len)
  throws IOException
InputStream.read(byte[],int,int).IOExceptionCopyright © 2009–2021 The Apache Software Foundation. All rights reserved.