public abstract class RIStream
extends java.io.InputStream
| Modifier and Type | Class and Description |
|---|---|
static interface |
RIStream.ProgressMonitor |
| Modifier and Type | Field and Description |
|---|---|
int |
_retries |
| Modifier | Constructor and Description |
|---|---|
protected |
RIStream(long off,
RIStream.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 java.io.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,
RIStream.ProgressMonitor pmon)
public final long off()
public final long expectedSz()
public void setExpectedSz(long sz)
public final void open()
protected abstract java.io.InputStream open(long offset)
throws java.io.IOException
java.io.IOExceptionpublic void closeQuietly()
public boolean markSupported()
markSupported in class java.io.InputStreampublic void mark(int readLimit)
mark in class java.io.InputStreampublic void reset()
reset in class java.io.InputStreampublic final int available()
throws java.io.IOException
available in class java.io.InputStreamjava.io.IOExceptionpublic int read()
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionpublic int read(byte[] b)
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionpublic int read(byte[] b,
int off,
int len)
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionpublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.InputStreamjava.io.IOExceptionpublic long skip(long n)
throws java.io.IOException
skip in class java.io.InputStreamjava.io.IOException