|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DownloadManager
Interface to service that can manage download jobs.
A default instance of DownloadManager is available from
DownloadManagerFactory.
DownloadManager manager = DownloadManagerFactory.getInstance().getDownloadManager(browser);
URL downloadManagerDistrib = new URL("http://www.teamdev.com/downloads/jxbrowser/jxbrowser-1.0.eap2-all.zip");
manager.addDownload(downloadManagerDistrib);
NOTE:This is a convenience class that provides a convenient way to track downloads in a browser-like UI application. Depending on the application needs a custom download manager or another method to track file downloads can be used instead, skipping usage of this facility altogether.
DownloadManagerFactory
,
WebBrowser
Method Summary | |
---|---|
void |
addDownload(java.net.URL url)
Add a URL to download file from. |
void |
showDownloadManagerWindow()
Show the Download Manager window. |
Method Detail |
---|
void addDownload(java.net.URL url)
url
- location of a file to download.void showDownloadManagerWindow()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |