ar.com.leak.iolsucker.view.common
Class LoggerDownloadMeter
java.lang.Object
ar.com.leak.iolsucker.view.common.LoggerDownloadMeter
- All Implemented Interfaces:
- DownloadMeter
public class LoggerDownloadMeter
- extends Object
- implements DownloadMeter
Logger download progress meter.
- Version:
- $Id: ConsoleDownloadMeter.java,v 1.2 2004/07/23 04:40:06 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 |
LoggerDownloadMeter
public LoggerDownloadMeter()
update
public final 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 final 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.