|
LimeWire Consolidated API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DownloaderInfo
Classes that implement this interface can be real downloaders or just stand-ins for downloaders.
| Nested Class Summary | |
|---|---|
static class |
DownloaderInfo.DownloadState
Enumerates the various states of a download. |
| Method Summary | |
|---|---|
long |
getAmountRead()
Returns the amount read by this so far, in bytes. |
long |
getContentLength()
Returns the size of this file in bytes, i.e., the total amount to download or -1 if content length is unknown. |
DownloaderInfo.DownloadState |
getState()
Returns the state of the downloader. |
boolean |
isCompleted()
Determines if the download is completed. |
| Method Detail |
|---|
long getAmountRead()
long getContentLength()
DownloaderInfo.DownloadState getState()
boolean isCompleted()
|
LimeWire Consolidated API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||