org.lastbamboo.common.download
Class DownloaderState.AbstractRunning
java.lang.Object
org.lastbamboo.common.download.DownloaderState.AbstractRunning
- All Implemented Interfaces:
- DownloaderState
- Direct Known Subclasses:
- MoverDState.DownloadingImpl, MoverDState.MovingImpl, MsDState.GettingSourcesImpl, MsDState.IdleImpl, MsDState.LibTorrentDownloadingState, MsDState.LimeWireDownloadingState, MsDState.LittleShootDownloadingState, MsDState.PausedImpl, Sha1DState.DownloadingImpl, Sha1DState.VerifyingSha1Impl
- Enclosing interface:
- DownloaderState
public abstract static class DownloaderState.AbstractRunning
- extends Object
- implements DownloaderState
An abstract state for implementing running states.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DownloaderState.AbstractRunning
public DownloaderState.AbstractRunning()
getType
public DownloaderStateType getType()
- Description copied from interface:
DownloaderState
- Returns the type of this state.
- Specified by:
getType in interface DownloaderState
- Returns:
- The type of this state.
calculateTimeRemaining
public String calculateTimeRemaining(long read,
long size,
double kbs)
Copyright © 2013 LittleShoot. All Rights Reserved.