org.lobobrowser.util

Class MonitoredInputStream


public class MonitoredInputStream
extends InputStream

Author:
J. H. S.

Field Summary

EventDispatch
evtProgress

Constructor Summary

MonitoredInputStream(InputStream delegate)
MonitoredInputStream(InputStream delegate, int minProgressEventGap)

Method Summary

int
available()
void
close()
boolean
markSupported()
int
read()
int
read(byte[] arg0, int arg1, int arg2)

Field Details

evtProgress

public final EventDispatch evtProgress

Constructor Details

MonitoredInputStream

public MonitoredInputStream(InputStream delegate)

MonitoredInputStream

public MonitoredInputStream(InputStream delegate,
                            int minProgressEventGap)

Method Details

available

public int available()
            throws IOException

close

public void close()
            throws IOException

markSupported

public boolean markSupported()

read

public int read()
            throws IOException

read

public int read(byte[] arg0,
                int arg1,
                int arg2)
            throws IOException