Closeable, AutoCloseablepublic class LimitingInputStream extends FilterInputStream
in| Constructor | Description |
|---|---|
LimitingInputStream(InputStream in,
long limit) |
| Modifier and Type | Method | Description |
|---|---|---|
int |
read() |
|
int |
read(byte[] b) |
|
int |
read(byte[] b,
int off,
int len) |
available, close, mark, markSupported, reset, skipreadAllBytes, readNBytes, transferTopublic LimitingInputStream(InputStream in, long limit)
public int read()
throws IOException
read in class FilterInputStreamIOExceptionpublic int read(byte[] b)
throws IOException
read in class FilterInputStreamIOExceptionpublic int read(byte[] b,
int off,
int len)
throws IOException
read in class FilterInputStreamIOExceptionCopyright © 2000–2018 The Apache Software Foundation. All rights reserved.