|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ops4j.pax.runner.platform.internal.StreamUtils.FineGrainedProgressBar
public static class StreamUtils.FineGrainedProgressBar
A progress bar that displayed detailed information about downloading of an artifact
Constructor Summary | |
---|---|
StreamUtils.FineGrainedProgressBar(java.lang.String downloadTargetName)
|
Method Summary | |
---|---|
void |
increment(long bytes,
long kbps)
Callback on download progress. |
void |
stop()
Callback when download finished. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StreamUtils.FineGrainedProgressBar(java.lang.String downloadTargetName)
Method Detail |
---|
public void increment(long bytes, long kbps)
StreamUtils.ProgressBar
increment
in interface StreamUtils.ProgressBar
bytes
- download size from when the download startedkbps
- download speedpublic void stop()
StreamUtils.ProgressBar
stop
in interface StreamUtils.ProgressBar
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |