|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.maven.util.ConsoleDownloadMeter
Console download progress meter.
Constructor Summary | |
---|---|
ConsoleDownloadMeter()
|
Method Summary | |
---|---|
void |
finish(int total)
Finalise the progress bar. |
void |
update(int complete,
int total)
Update the progress bar. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ConsoleDownloadMeter()
Method Detail |
public void update(int complete, int total)
DownloadMeter
update
in interface DownloadMeter
complete
- amount complete in bytestotal
- the total in bytes, or 0 if unknownpublic void finish(int total)
DownloadMeter
finish
in interface DownloadMeter
total
- the total in bytes
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |