public class ProgressMonitorInputStream
extends java.io.FilterInputStream
| Constructor and Description |
|---|
ProgressMonitorInputStream(java.io.InputStream in,
long maxSize,
InputStreamProgressMonitor mon)
Creates a
FilterInputStream
by assigning the argument in
to the field this.in so as
to remember it for later use. |
| Modifier and Type | Method and Description |
|---|---|
int |
read() |
int |
read(byte[] b) |
int |
read(byte[] b,
int off,
int len) |
public ProgressMonitorInputStream(java.io.InputStream in,
long maxSize,
InputStreamProgressMonitor mon)
throws java.io.IOException
FilterInputStream
by assigning the argument in
to the field this.in so as
to remember it for later use.in - the underlying input stream, or null if
this instance is to be created without an underlying stream.java.io.IOExceptionpublic int read()
throws java.io.IOException
read in class java.io.FilterInputStreamjava.io.IOExceptionpublic int read(byte[] b)
throws java.io.IOException
read in class java.io.FilterInputStreamjava.io.IOExceptionpublic int read(byte[] b,
int off,
int len)
throws java.io.IOException
read in class java.io.FilterInputStreamjava.io.IOException