Module java.base

Class FilterInputStream

All Implemented Interfaces:
Closeable, AutoCloseable
Direct Known Subclasses:
BufferedInputStream, CheckedInputStream, CipherInputStream, DataInputStream, DeflaterInputStream, DigestInputStream, InflaterInputStream, LineNumberInputStream, ProgressMonitorInputStream, PushbackInputStream

public class FilterInputStream extends InputStream
A FilterInputStream wraps some other input stream, which it uses as its basic source of data, possibly transforming the data along the way or providing additional functionality. The class FilterInputStream itself simply overrides select methods of InputStream with versions that pass all requests to the wrapped input stream. Subclasses of FilterInputStream may of course override any methods declared or inherited by FilterInputStream, and may also provide additional fields and methods.