org.apache.maven.util
Class BootstrapDownloadMeter
java.lang.Object
org.apache.maven.util.BootstrapDownloadMeter
- All Implemented Interfaces:
- DownloadMeter
- public class BootstrapDownloadMeter
- extends java.lang.Object
- implements DownloadMeter
Bootstrap download progress meter.
- Version:
- $Id: BootstrapDownloadMeter.java,v 1.1.2.1 2004/07/06 12:45:48 brett Exp $
- Author:
- Brett Porter
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 |
BootstrapDownloadMeter
public BootstrapDownloadMeter()
BootstrapDownloadMeter
public BootstrapDownloadMeter(int numHashes,
char hashChar)
update
public void update(int complete,
int total)
- Description copied from interface:
DownloadMeter
- Update the progress bar.
- Specified by:
update
in interface DownloadMeter
- Parameters:
complete
- amount complete in bytestotal
- the total in bytes, or 0 if unknown
finish
public void finish(int total)
- Description copied from interface:
DownloadMeter
- Finalise the progress bar.
- Specified by:
finish
in interface DownloadMeter
- Parameters:
total
- the total in bytes
Copyright © 2001-2005 Apache Software Foundation. All Rights Reserved.