org.lobobrowser.util
public class MonitoredInputStream extends java.io.InputStream
Modifier and Type | Field and Description |
---|---|
EventDispatch |
evtProgress |
Constructor and Description |
---|
MonitoredInputStream(java.io.InputStream delegate) |
MonitoredInputStream(java.io.InputStream delegate,
int minProgressEventGap) |
Modifier and Type | Method and Description |
---|---|
int |
available() |
void |
close() |
boolean |
markSupported() |
int |
read() |
int |
read(byte[] arg0,
int arg1,
int arg2) |
public final EventDispatch evtProgress
public MonitoredInputStream(java.io.InputStream delegate, int minProgressEventGap)
public MonitoredInputStream(java.io.InputStream delegate)
public int available() throws java.io.IOException
available
in class java.io.InputStream
java.io.IOException
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in class java.io.InputStream
java.io.IOException
public boolean markSupported()
markSupported
in class java.io.InputStream
public int read() throws java.io.IOException
read
in class java.io.InputStream
java.io.IOException
public int read(byte[] arg0, int arg1, int arg2) throws java.io.IOException
read
in class java.io.InputStream
java.io.IOException