|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Downloadable
Objects that implement this interface can be passed to a DownloadProcessor.
| Method Summary | |
|---|---|
void |
downloadDone()
Call to notify the object that its download is completed; |
void |
handleIoError()
Called in case an IO error happens. |
boolean |
handleTimeout()
Called in case a timeout happens. |
boolean |
isDownloadDone()
Called to inquire on the status of a download. |
boolean |
isRecycled()
True if the Downloadable has been recycled, and thus should not be downloaded. |
void |
performDownload()
Called to start download. |
| Method Detail |
|---|
void performDownload()
throws java.lang.Exception
java.lang.Exceptionboolean isDownloadDone()
boolean handleTimeout()
void handleIoError()
void downloadDone()
boolean isRecycled()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||