ar.com.leak.iolsucker.view.common
Class NullDownloadMeter
java.lang.Object
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
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 |
NullDownloadMeter
public NullDownloadMeter()
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- 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.