public class ProgressWrappingStream
extends java.io.InputStream
| Constructor and Description |
|---|
ProgressWrappingStream(java.io.InputStream delegate,
java.lang.String name,
int size,
ProgressPlugin.Task task,
long timeout) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
int |
read() |
int |
read(byte[] buffer) |
int |
read(byte[] buffer,
int offset,
int length) |
int |
update(int count) |
public ProgressWrappingStream(java.io.InputStream delegate,
java.lang.String name,
int size,
ProgressPlugin.Task task,
long timeout)
public int read()
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionpublic int read(byte[] buffer)
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionpublic int read(byte[] buffer,
int offset,
int length)
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionpublic int update(int count)
throws java.io.IOException
java.io.IOExceptionpublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.InputStreamjava.io.IOException