public abstract class RIStream extends InputStream
| Modifier and Type | Field and Description |
|---|---|
int |
_retries |
| Modifier | Constructor and Description |
|---|---|
protected |
RIStream(long off,
Job.ProgressMonitor pmon) |
| Modifier and Type | Method and Description |
|---|---|
int |
available() |
void |
close() |
void |
closeQuietly() |
long |
expectedSz() |
void |
mark(int readLimit) |
boolean |
markSupported() |
long |
off() |
void |
open() |
protected abstract InputStream |
open(long offset) |
int |
read() |
int |
read(byte[] b) |
int |
read(byte[] b,
int off,
int len) |
void |
reset() |
void |
setExpectedSz(long sz) |
long |
skip(long n) |
public final int _retries
protected RIStream(long off,
Job.ProgressMonitor pmon)
public final long off()
public final long expectedSz()
public void setExpectedSz(long sz)
public final void open()
protected abstract InputStream open(long offset) throws IOException
IOExceptionpublic void closeQuietly()
public boolean markSupported()
markSupported in class InputStreampublic void mark(int readLimit)
mark in class InputStreampublic void reset()
reset in class InputStreampublic final int available()
throws IOException
available in class InputStreamIOExceptionpublic int read()
throws IOException
read in class InputStreamIOExceptionpublic int read(byte[] b)
throws IOException
read in class InputStreamIOExceptionpublic int read(byte[] b,
int off,
int len)
throws IOException
read in class InputStreamIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class InputStreamIOExceptionpublic long skip(long n)
throws IOException
skip in class InputStreamIOExceptionCopyright © 2013–2014 0xdata. All rights reserved.