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

Java ConcurrentMap + ConcurrentHashMap

Java Generics

Java ForkJoinPool

P2P Networks Introduction

















Close TOC
All Tutorial Trails
All Trails
Table of contents (TOC) for this tutorial trail
Trail TOC
Table of contents (TOC) for this tutorial
Page TOC
Previous tutorial in this tutorial trail
Previous
Next tutorial in this tutorial trail
Next