Class ProxyInputStream

java.lang.Object
java.io.InputStream
java.io.FilterInputStream
org.apache.commons.io.input.ProxyInputStream
All Implemented Interfaces:
Closeable, AutoCloseable
Direct Known Subclasses:
AutoCloseInputStream, BOMInputStream, BoundedInputStream, CloseShieldInputStream, CountingInputStream, MarkShieldInputStream, ObservableInputStream, SwappedDataInputStream, TaggedInputStream, TeeInputStream

public abstract class ProxyInputStream extends FilterInputStream
An input stream proxy which delegates to the wrapped input stream.

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).

In addition, this class allows you to: