public abstract class SeekableInputStream extends InputStream
Modifier and Type | Class and Description |
---|---|
static class |
SeekableInputStream.FLAGS |
Constructor and Description |
---|
SeekableInputStream() |
Modifier and Type | Method and Description |
---|---|
abstract void |
seek(long offset,
SeekableInputStream.FLAGS whence)
Seeks to a given offset as specified by whence flags.
|
abstract long |
tell()
Returns current offset
|
available, close, mark, markSupported, read, read, read, reset, skip
public abstract void seek(long offset, SeekableInputStream.FLAGS whence) throws IOException
offset
- whence
- IOException
public abstract long tell() throws IOException
IOException
Copyright © 2007-2017 The Apache Software Foundation