public class SeekableFSInputStream extends FSInputStream
| Constructor and Description |
|---|
SeekableFSInputStream(InputStream in) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
long |
getPos() |
int |
read() |
int |
read(byte[] b,
int off,
int len) |
void |
seek(long pos) |
boolean |
seekToNewSource(long arg0) |
read, readFully, readFullyavailable, mark, markSupported, read, reset, skippublic SeekableFSInputStream(InputStream in)
public int read(byte[] b,
int off,
int len)
throws IOException
read in class InputStreamIOExceptionpublic long getPos()
throws IOException
getPos in interface SeekablegetPos in class FSInputStreamIOExceptionpublic void seek(long pos)
throws IOException
seek in interface Seekableseek in class FSInputStreamIOExceptionpublic boolean seekToNewSource(long arg0)
throws IOException
seekToNewSource in interface SeekableseekToNewSource in class FSInputStreamIOExceptionpublic int read()
throws IOException
read in class InputStreamIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class InputStreamIOException