public class LimitedInputStream extends InputStream
| Constructor and Description |
|---|
LimitedInputStream(InputStream inputStream,
long offset,
long length) |
public LimitedInputStream(InputStream inputStream, long offset, long length) throws IOException
IOExceptionpublic int available()
throws IOException
available in class InputStreamIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class InputStreamIOExceptionpublic void mark(int readLimit)
mark in class InputStreampublic boolean markSupported()
markSupported in class InputStreampublic int read()
throws IOException
read in class InputStreamIOExceptionpublic int read(byte[] bytes)
throws IOException
read in class InputStreamIOExceptionpublic int read(byte[] bytes,
int offset,
int length)
throws IOException
read in class InputStreamIOExceptionpublic void reset()
reset in class InputStreampublic long skip(long skip)
throws IOException
skip in class InputStreamIOException