public class ProgressWrappingStream extends InputStream
Constructor and Description |
---|
ProgressWrappingStream(InputStream delegate,
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) |
available, mark, markSupported, reset, skip
public ProgressWrappingStream(InputStream delegate, String name, int size, ProgressPlugin.Task task, long timeout)
public int read() throws IOException
read
in class InputStream
IOException
public int read(byte[] buffer) throws IOException
read
in class InputStream
IOException
public int read(byte[] buffer, int offset, int length) throws IOException
read
in class InputStream
IOException
public int update(int count) throws IOException
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class InputStream
IOException
Copyright © 2021 aQute SARL. All rights reserved.