This class provites a generic wrapper for InputStreams, which are decorated
with some action that should be performed whenever the end of the stream has
been reached.
This class provites a generic wrapper for OutputStreams, which are decorated
with some action that should be performed when the end of the stream has been
reached, in other words, the stream is closed.