public class FixedLengthInputStream extends FilterInputStream
in| Constructor and Description |
|---|
FixedLengthInputStream(InputStream in,
long limit) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
int |
read() |
int |
read(byte[] b,
int off,
int len) |
long |
skip(long n) |
available, mark, markSupported, read, resetpublic FixedLengthInputStream(InputStream in, long limit)
public int read()
throws IOException
read in class FilterInputStreamIOExceptionpublic int read(byte[] b,
int off,
int len)
throws IOException
read in class FilterInputStreamIOExceptionpublic long skip(long n)
throws IOException
skip in class FilterInputStreamIOExceptionpublic void close()
close in interface Closeableclose in interface AutoCloseableclose in class FilterInputStreamCopyright © 2018 Arno Unkrig. All rights reserved.