Package javax.jnlp
Interface DownloadService
public interface DownloadService
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isExtensionPartCached
(URL ref, String version, String part) boolean
isExtensionPartCached
(URL ref, String version, String[] parts) boolean
isPartCached
(String part) boolean
isPartCached
(String[] parts) boolean
isResourceCached
(URL ref, String version) void
loadExtensionPart
(URL ref, String version, String[] parts, DownloadServiceListener progress) void
loadExtensionPart
(URL ref, String version, String part, DownloadServiceListener progress) void
loadPart
(String[] parts, DownloadServiceListener progress) void
loadPart
(String part, DownloadServiceListener progress) void
loadResource
(URL ref, String version, DownloadServiceListener progress) void
removeExtensionPart
(URL ref, String version, String part) void
removeExtensionPart
(URL ref, String version, String[] parts) void
removePart
(String part) void
removePart
(String[] parts) void
removeResource
(URL ref, String version)
-
Method Details
-
isResourceCached
-
isPartCached
-
isPartCached
-
isExtensionPartCached
-
isExtensionPartCached
-
loadResource
- Throws:
IOException
-
loadPart
- Throws:
IOException
-
loadPart
- Throws:
IOException
-
loadExtensionPart
void loadExtensionPart(URL ref, String version, String part, DownloadServiceListener progress) throws IOException - Throws:
IOException
-
loadExtensionPart
void loadExtensionPart(URL ref, String version, String[] parts, DownloadServiceListener progress) throws IOException - Throws:
IOException
-
removeResource
- Throws:
IOException
-
removePart
- Throws:
IOException
-
removePart
- Throws:
IOException
-
removeExtensionPart
- Throws:
IOException
-
removeExtensionPart
- Throws:
IOException
-
getDefaultProgressWindow
DownloadServiceListener getDefaultProgressWindow()
-