public class SeekableInputStream extends InputStream implements SeekableStream
| Constructor and Description |
|---|
SeekableInputStream(InputStream in) |
| Modifier and Type | Method and Description |
|---|---|
long |
addPosition(long offset) |
long |
getPosition() |
int |
read() |
int |
read(byte[] b,
int off,
int len) |
long |
setPosition(long newPosition) |
available, close, mark, markSupported, read, reset, skippublic SeekableInputStream(InputStream in)
public int read()
throws IOException
read in class InputStreamIOExceptionpublic int read(byte[] b,
int off,
int len)
throws IOException
read in class InputStreamIOExceptionpublic long getPosition()
getPosition in interface SeekableStreampublic long setPosition(long newPosition)
setPosition in interface SeekableStreampublic long addPosition(long offset)
addPosition in interface SeekableStreamCopyright © 2016–2017. All rights reserved.