Java IO: FilterReader

Jakob Jenkov
Last update: 2014-06-23

The FilterReader is a base class for implementing your own filtering readers. Basically it just overrides all methods in Reader.

Like with FilterInputStream, I see no sensible purpose for this class. I cannot see that this class actually adds or changes any behaviour in Reader except that it takes a Reader in its constructor. If you choose to extend this class you might as well extend the Reader class directly, and avoid the extra class in the hierarchy.

Jakob Jenkov

Featured Videos











Core Software Performance Optimization Principles

Thread Congestion in Java - Video Tutorial






Advertisements

High-Performance
Java Persistence
Close TOC

All Trails

Trail TOC

Page TOC

Previous

Next