public final class UploadProgressInputStream extends FilterInputStream
in| Constructor and Description |
|---|
UploadProgressInputStream(InputStream in,
long totalBytes) |
| Modifier and Type | Method and Description |
|---|---|
void |
addListener(org.apache.commons.fileupload.ProgressListener listener) |
void |
close() |
int |
read() |
int |
read(byte[] b) |
int |
read(byte[] b,
int off,
int len) |
available, mark, markSupported, reset, skippublic UploadProgressInputStream(InputStream in, long totalBytes)
public void addListener(org.apache.commons.fileupload.ProgressListener listener)
public 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 FilterInputStreamIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class FilterInputStreamIOExceptionCopyright © 2015. All Rights Reserved.