commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting (JIRA)" <>
Subject [jira] Commented: (IO-211) Pre- and post-processing support for proxied streams
Date Wed, 14 Apr 2010 17:40:49 GMT


Jukka Zitting commented on IO-211:

As Niall noted in IO-242, there's a corner case where the added code can throw a NullPointerException.
I fixed this in revision 934041.

> Pre- and post-processing support for proxied streams
> ----------------------------------------------------
>                 Key: IO-211
>                 URL:
>             Project: Commons IO
>          Issue Type: New Feature
>          Components: Streams/Writers
>            Reporter: Jukka Zitting
>            Assignee: Jukka Zitting
>            Priority: Minor
>             Fix For: 2.0
>         Attachments: IO-211.patch
> In many cases a stream decorator needs to add custom pre- or post-processing functionality
to all the read and write methods in decorated input and output streams. For example the CountingInputStream
needs to override all three read() methods with similar code.
> It would be nice if the proxy stream classes provided simple hooks for adding such functionality.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message