Re: [io] Proposal for a ProgressOutputStream

2012-09-25 Thread Gary Gregory
YW, and there would be a similar ProgressInputStream. Gary On Tue, Sep 25, 2012 at 11:52 AM, Felix Meschberger wrote: > Thanks for the hints. > > Regards > Felix > > Am 25.09.2012 um 17:50 schrieb Gary Gregory: > > > On Tue, Sep 25, 2012 at 2:23 AM, Felix Meschberger >wrote: > > > >> Hi > >> >

Re: [io] Proposal for a ProgressOutputStream

2012-09-25 Thread Felix Meschberger
Thanks for the hints. Regards Felix Am 25.09.2012 um 17:50 schrieb Gary Gregory: > On Tue, Sep 25, 2012 at 2:23 AM, Felix Meschberger wrote: > >> Hi >> >> Wouldn't it also be interesting to know how much progress was made -- if >> at all possible ? >> > > Because ProgressOutputStream extends

Re: [io] Proposal for a ProgressOutputStream

2012-09-25 Thread Gary Gregory
On Tue, Sep 25, 2012 at 2:23 AM, Felix Meschberger wrote: > Hi > > Wouldn't it also be interesting to know how much progress was made -- if > at all possible ? > Because ProgressOutputStream extends CountingOutputStream you can call getByteCount() in your observer. > For example: having a prosp

Re: [io] Proposal for a ProgressOutputStream

2012-09-24 Thread Felix Meschberger
Hi Wouldn't it also be interesting to know how much progress was made -- if at all possible ? For example: having a prospective number of bytes to write and have the update method called with the number of bytes just written ? Regards Felix Am 25.09.2012 um 03:57 schrieb Gary Gregory: > Hi A