|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DownloadManager
A DownloadManager allows you to inject files into the system and then retrieve them via a servlet at some later date. Implementations of DownloadManager are responsible for defining a purge policy.
| Method Summary | |
|---|---|
java.lang.String |
addFileTransfer(FileTransfer transfer)
Inject a file into the system for later download. |
FileTransfer |
getFileTransfer(java.lang.String id)
Retrieve a FileGenerator given the id that it was stored under |
| Method Detail |
|---|
java.lang.String addFileTransfer(FileTransfer transfer)
throws java.io.IOException
transfer - The representation of the file to inject
java.io.IOException - If there are problems reading from the FileTransfer
FileTransfer getFileTransfer(java.lang.String id)
throws java.io.IOException
id - The id to lookup
java.io.IOException
|
Copyright ยจ 2008 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||