org.apache.maven.util
Class SilentDownloadMeter

java.lang.Object
  extended byorg.apache.maven.util.SilentDownloadMeter
All Implemented Interfaces:
DownloadMeter

public class SilentDownloadMeter
extends java.lang.Object
implements DownloadMeter

Silent download progress meter.

Version:
$Id: SilentDownloadMeter.java 122358 2004-07-06 12:45:48Z brett $
Author:
Brett Porter

Constructor Summary
SilentDownloadMeter()
           
 
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

SilentDownloadMeter

public SilentDownloadMeter()
Method Detail

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 bytes
total - 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.