|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface JvFileFetcher
Interface for the class responsible for downloading a file.
| Method Summary | |
|---|---|
void |
fetch(File dest,
JvDataTransferModel transferModel)
Fetch the file and notify transferModel of the progress. |
long |
getContentLength()
Return the size of the downloaded file. |
String |
getEtag()
Return the Etag that identifies the file. |
long |
getExpires()
Return the date the cached file should expire. |
long |
getLastModified()
Return the last modified date of the file. |
| Method Detail |
|---|
long getContentLength()
long getLastModified()
long getExpires()
String getEtag()
void fetch(File dest,
JvDataTransferModel transferModel)
throws IOException
transferModel of the progress.
dest - the cache entrytransferModel - object holding status of the transfer; may be null
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||