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
A proxy stream which acts as a FilterInputStream, by passing all method calls on to the proxied stream, not changing which methods are called.

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: