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




Java IO: FilterWriter

Jakob Jenkov
Last update: 2014-06-23

The FilterWriter is a base class for implementing your own filtering Writer's. Basically it just overrides all methods in Writer.

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

Jakob Jenkov




Copyright  Jenkov Aps
Close TOC