Tech and Media Labs
This site uses cookies to improve the user experience.

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

Copyright  Jenkov Aps
Close TOC