public class ProgressMonitorInputStream extends FilterInputStream
in| Constructor and Description |
|---|
ProgressMonitorInputStream(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) |
available, close, mark, markSupported, reset, skippublic ProgressMonitorInputStream(InputStream in, long maxSize, InputStreamProgressMonitor mon) throws 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.IOExceptionpublic int read()
throws IOException
read in class FilterInputStreamIOExceptionpublic int read(byte[] b)
throws IOException
read in class FilterInputStreamIOExceptionpublic int read(byte[] b,
int off,
int len)
throws IOException
read in class FilterInputStreamIOExceptionCopyright © 2020. All rights reserved.