This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Monitoring progress while saving file using OutputStream implementation.  RSS feed

 
Danny Wreczycki
Greenhorn
Posts: 23
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For reading files I found ProgressMonitorInputStream be the easy way of monitoring progress while opening large files. I was really happy using it until , I tried to save my file since I didint find great class as this above for saving purpose. I'm really busy at this moment and bit lazy to writing my own implemetation of such class and I belive someone else figured this before me, and hopefully did right job. So please if You know where I can find such tweaked class with I can use to monitoring progress of OutputStream, please share with me. If you got any idea how to easy implement such tool please post here aswell. Thank You.
 
Richard Tookey
Bartender
Posts: 1166
17
Java Linux Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Danny Wreczycki wrote: I'm really busy at this moment and bit lazy to writing my own implemetation


Maybe not the best way to endear yourself to the forum members!
 
Kemal Sokolovic
Bartender
Posts: 825
5
Java Python Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Danny Wreczycki wrote:I'm really busy at this moment and bit lazy to writing my own implemetation of such class and I belive someone else figured this before me, and hopefully did right job.


Your statement stands for itself. Aren't we all busy (probably not that lazy)?
When you find some time off, check these: NotACodeMill, DoYourOwnHomework and ShowSomeEffort instead of asking others to do everything for you.
 
Tony Docherty
Bartender
Posts: 3268
82
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm really busy at this moment and bit lazy to writing my own implemetation


Well, 10 out of 10 for honesty.
 
Paul Clapham
Sheriff
Posts: 22487
43
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When I googled for ProgressMonitorOutputStream, first of all Google decided I meant ProgressMonitorInputStream, but when I told it I didn't, it came up will several implementations of something called ProgressMonitorOutputStream.

And in Danny's defense, it doesn't look quite as trivial as you might think to write the class. And besides, why write it if somebody else already did that and you can use theirs? Good programmers are lazy (in certain ways, anyway).
 
Andreas Hollmann
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can use EvnetOutputStream from happy-libraries



 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!