public class SizedInputStream extends InputStream
| Constructor and Description |
|---|
SizedInputStream(InputStream is)
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
long |
getSize()
Get read size
|
int |
read() |
int |
read(byte[] b) |
int |
read(byte[] b,
int off,
int len) |
available, close, mark, markSupported, reset, skippublic SizedInputStream(InputStream is)
is - the InputStream sourcepublic int read()
throws IOException
read in class InputStreamIOExceptionpublic int read(byte[] b)
throws IOException
read in class InputStreamIOExceptionpublic int read(byte[] b,
int off,
int len)
throws IOException
read in class InputStreamIOExceptionpublic long getSize()
Copyright © 2018 Vitam. All rights reserved.