Example usage for Java org.apache.commons.io.input BoundedInputStream fields, constructors, methods, implement or subclass
The text is from its open source code.
BoundedInputStream(InputStream in, long size) Creates a new BoundedInputStream that wraps the given input stream and limits it to a certain size. |
int | read(byte[] b) Invokes the delegate's read(byte[]) method. |
void | setPropagateClose(boolean propagateClose) Set whether the #close() method should propagate to the underling InputStream . |