Uploaded image for project: 'Commons IO'
  1. Commons IO
  2. IO-211

Pre- and post-processing support for proxied streams

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.0
    • Streams/Writers
    • None

    Description

      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.

      Attachments

        1. IO-211.patch
          14 kB
          Jukka Zitting

        Activity

          People

            jukkaz Jukka Zitting
            jukkaz Jukka Zitting
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: