ar.com.leak.iolsucker.view.common
Class ConsoleDownloadMeter
java.lang.Object
ar.com.leak.iolsucker.view.common.ConsoleDownloadMeter
- All Implemented Interfaces:
- DownloadMeter
public class ConsoleDownloadMeter
- extends Object
- implements DownloadMeter
Console download progress meter.
- Version:
- $Id: ConsoleDownloadMeter.java,v 1.2 2004/07/23 04:40:06 brett Exp $
- Author:
- Brett Porter, modified by
Juan F. Codagnone to pass checkstyle tests.
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 |
ConsoleDownloadMeter
public ConsoleDownloadMeter()
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.