org.apache.commons.io.input
public abstract class ProxyInputStream extends FilterInputStream
It is an alternative base class to FilterInputStream to increase reusability, because FilterInputStream changes the methods being called, such as read(byte[]) to read(byte[], int, int).
Version: $Id: ProxyInputStream.java 471628 2006-11-06 04:06:45Z bayard $
Constructor Summary | |
---|---|
ProxyInputStream(InputStream proxy)
Constructs a new ProxyInputStream.
|
Method Summary | |
---|---|
int | available() |
void | close() |
void | mark(int idx) |
boolean | markSupported() |
int | read() |
int | read(byte[] bts) |
int | read(byte[] bts, int st, int end) |
void | reset() |
long | skip(long ln) |
Parameters: proxy the InputStream to delegate to
See Also: java.io.InputStream#available()
See Also: java.io.InputStream#close()
See Also: java.io.InputStream#mark(int)
See Also: java.io.InputStream#markSupported()
See Also: java.io.InputStream#read()
See Also: java.io.InputStream#read(byte[])
See Also: java.io.InputStream#read(byte[], int, int)
See Also: java.io.InputStream#reset()
See Also: java.io.InputStream#skip(long)