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.IOException
public void closeQuietly()
public boolean markSupported()
markSupported
in class java.io.InputStream
public void mark(int readLimit)
mark
in class java.io.InputStream
public void reset()
reset
in class java.io.InputStream
public final int available() throws java.io.IOException
available
in class java.io.InputStream
java.io.IOException
public int read() throws java.io.IOException
read
in class java.io.InputStream
java.io.IOException
public int read(byte[] b) throws java.io.IOException
read
in class java.io.InputStream
java.io.IOException
public int read(byte[] b, int off, int len) throws java.io.IOException
read
in class java.io.InputStream
java.io.IOException
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in class java.io.InputStream
java.io.IOException
public long skip(long n) throws java.io.IOException
skip
in class java.io.InputStream
java.io.IOException