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, skip
public LimitingInputStream(InputStream in, long limit)
public int read() throws IOException
read
in class FilterInputStream
IOException
public int read(byte[] b) throws IOException
read
in class FilterInputStream
IOException
public int read(byte[] b, int off, int len) throws IOException
read
in class FilterInputStream
IOException
Copyright © 2000–2016 The Apache Software Foundation. All rights reserved.