Class InputStreamWithProgress
- java.lang.Object
-
- java.io.InputStream
-
- com.github.davidmoten.odata.client.InputStreamWithProgress
-
- All Implemented Interfaces:
Closeable,AutoCloseable
public final class InputStreamWithProgress extends InputStream
-
-
Constructor Summary
Constructors Constructor Description InputStreamWithProgress(InputStream in, int chunkSize, UploadListener listener)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intread()intread(byte[] b, int off, int len)-
Methods inherited from class java.io.InputStream
available, close, mark, markSupported, nullInputStream, read, readAllBytes, readNBytes, readNBytes, reset, skip, transferTo
-
-
-
-
Constructor Detail
-
InputStreamWithProgress
public InputStreamWithProgress(InputStream in, int chunkSize, UploadListener listener)
-
-
Method Detail
-
read
public int read() throws IOException- Specified by:
readin classInputStream- Throws:
IOException
-
read
public int read(byte[] b, int off, int len) throws IOException- Overrides:
readin classInputStream- Throws:
IOException
-
-