com.trendmicro.grid.acl.client.util
Class ProgressIndicator
java.lang.Object
com.trendmicro.grid.acl.client.util.ProgressIndicator
- All Implemented Interfaces:
- Runnable
public class ProgressIndicator
- extends Object
- implements Runnable
Is a simple progress indicator for console apps.
- Version:
- 1.0
- Author:
- juergen_kellerer, 2010-07-13
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProgressIndicator
public ProgressIndicator(String prefix)
run
public void run()
- Specified by:
run
in interface Runnable
println
public void println(String line)
setMessage
public void setMessage(String message)
setProgress
public void setProgress(double processed,
double total)
append
public void append(String message)
isClosed
public boolean isClosed()
close
public void close()