What is practical usage of FilterOutputStream
in Java?
From javadocs:
This class is the superclass of all classes that filter output streams. These streams sit on top of an already existing output stream (the underlying output stream) which it uses as its basic sink of data, but possibly transforming the data along the way or providing additional functionality.
For me it seems to have same methods as OutputStream
(maybe it overrides them for some reason?). What kind of data "transformation" does it offer and when can one use it in own Java application?