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, skip
public UploadProgressInputStream(InputStream in, long totalBytes)
public void addListener(org.apache.commons.fileupload.ProgressListener listener)
public int read() throws IOException
read
in class FilterInputStream
IOException
public int read(byte[] b) throws IOException
read
in class FilterInputStream
IOException
public int read(byte[] b, int off, int len) throws IOException
read
in class FilterInputStream
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class FilterInputStream
IOException
Copyright © 2014. All Rights Reserved.