public class LimitingInputStream extends FilterInputStream
in| Constructor and Description |
|---|
LimitingInputStream(InputStream in,
long limit) |
| Modifier and Type | Method and Description |
|---|---|
int |
read() |
int |
read(byte[] b) |
int |
read(byte[] b,
int off,
int len) |
available, close, mark, markSupported, reset, skippublic 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–2019 The Apache Software Foundation. All rights reserved.