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

Add TeeInputStream

    XMLWordPrintableJSON

Details

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

    Description

      There should be a TeeInputStream class that transparently writes all bytes read from an input stream to a given output stream. Such a class could be used to easily record and log various inputs like incoming network streams, etc. The class would also be nicely symmetric with the existing TeeOutputStream class.

      Attachments

        1. commons-io-TeeInputStream-autoclose.patch
          2 kB
          Niall Pemberton
        2. commons-io-TeeInputStream-close.patch
          3 kB
          Jukka Zitting
        3. IO-129.patch
          8 kB
          Jukka Zitting

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: