lib.io
Class ProgressBar

java.lang.Object
  extended by lib.io.ProgressBar

public class ProgressBar
extends java.lang.Object

Ascii progress meter. On completion this will reset itself, so it can be reused

100% ################################################## |


Constructor Summary
ProgressBar()
          initialize progress bar properties.
 
Method Summary
 void update(int done, int total)
          called whenever the progress bar needs to be updated.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProgressBar

public ProgressBar()
initialize progress bar properties.

Method Detail

update

public void update(int done,
                   int total)
called whenever the progress bar needs to be updated. that is whenever progress was made.

Parameters:
done - an int representing the work done so far
total - an int representing the total work