public class SubInputStream
extends org.apache.commons.io.input.ProxyInputStream
in| Constructor and Description |
|---|
SubInputStream(InputStream inp,
long maxLength,
boolean closeSource) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
boolean |
endSourceReached() |
long |
getBytesProduced() |
int |
read() |
int |
read(byte[] b) |
int |
read(byte[] b,
int off,
int len) |
void |
readMoreBytes(long byteCount) |
long |
skip(long n) |
public SubInputStream(InputStream inp, long maxLength, boolean closeSource)
public boolean endSourceReached()
public long getBytesProduced()
public void readMoreBytes(long byteCount)
public int read()
throws IOException
read in class org.apache.commons.io.input.ProxyInputStreamIOExceptionpublic int read(byte[] b)
throws IOException
read in class org.apache.commons.io.input.ProxyInputStreamIOExceptionpublic int read(byte[] b,
int off,
int len)
throws IOException
read in class org.apache.commons.io.input.ProxyInputStreamIOExceptionpublic long skip(long n)
throws IOException
skip in class org.apache.commons.io.input.ProxyInputStreamIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class org.apache.commons.io.input.ProxyInputStreamIOExceptionCopyright © 2020. All rights reserved.