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, skip
public SizedInputStream(InputStream is)
is
- the InputStream sourcepublic int read() throws IOException
read
in class InputStream
IOException
public int read(byte[] b) throws IOException
read
in class InputStream
IOException
public int read(byte[] b, int off, int len) throws IOException
read
in class InputStream
IOException
public long getSize()
Copyright © 2018 Vitam. All rights reserved.