public class TruncatedInputStream
extends org.apache.commons.io.input.ProxyInputStream
Constructor and Description |
---|
TruncatedInputStream(java.io.InputStream in,
long limit) |
public TruncatedInputStream(java.io.InputStream in, long limit)
public int available() throws java.io.IOException
available
in class org.apache.commons.io.input.ProxyInputStream
java.io.IOException
public void mark(int readlimit)
mark
in class org.apache.commons.io.input.ProxyInputStream
public int read() throws java.io.IOException
read
in class org.apache.commons.io.input.ProxyInputStream
java.io.IOException
public int read(byte[] b) throws java.io.IOException
read
in class org.apache.commons.io.input.ProxyInputStream
java.io.IOException
public int read(byte[] b, int off, int len) throws java.io.IOException
read
in class org.apache.commons.io.input.ProxyInputStream
java.io.IOException
public void reset() throws java.io.IOException
reset
in class org.apache.commons.io.input.ProxyInputStream
java.io.IOException
public long skip(long n) throws java.io.IOException
skip
in class org.apache.commons.io.input.ProxyInputStream
java.io.IOException