public class RangeRequestInputStream extends org.apache.commons.io.input.BoundedInputStream
InputStream
that skips bytes and only returns the data up to a certain limitConstructor and Description |
---|
RangeRequestInputStream(InputStream in,
long skip,
long length) |
public RangeRequestInputStream(InputStream in, long skip, long length) throws IOException
in
- the underlying input stream, or null
if
this instance is to be created without an underlying stream.skip
- the number of bytes to skip at the beginning of the streamlength
- the number of bytes from the inputstream to readIOException
- if IO exception occurredCopyright © 2013–2017 DuraSpace, Inc.. All rights reserved.