ar.com.leak.iolsucker.view.common
Class NullDownloadMeter

java.lang.Object
  extended by ar.com.leak.iolsucker.view.common.NullDownloadMeter
All Implemented Interfaces:
DownloadMeter

public final class NullDownloadMeter
extends Object
implements DownloadMeter

Quiet implementation for DownloadMeter

Since:
Sep 6, 2005
Author:
Juan F. Codagnone
See Also:
DownloadMeter

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

NullDownloadMeter

public NullDownloadMeter()
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
See Also:
DownloadMeter.update(int, int)

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
See Also:
DownloadMeter.finish(int)


Copyright © 2005-2009 leak.com.ar. All Rights Reserved.