1 | package javax.jnlp;
|
---|
2 |
|
---|
3 | public interface DownloadService {
|
---|
4 |
|
---|
5 | public boolean isResourceCached(java.net.URL ref, java.lang.String version);
|
---|
6 |
|
---|
7 | public boolean isPartCached(java.lang.String part);
|
---|
8 |
|
---|
9 | public boolean isPartCached(java.lang.String[] parts);
|
---|
10 |
|
---|
11 | public boolean isExtensionPartCached(java.net.URL ref, java.lang.String version, java.lang.String part);
|
---|
12 |
|
---|
13 | public boolean isExtensionPartCached(java.net.URL ref, java.lang.String version, java.lang.String[] parts);
|
---|
14 |
|
---|
15 | public void loadResource(java.net.URL ref, java.lang.String version, DownloadServiceListener progress) throws java.io.IOException;
|
---|
16 |
|
---|
17 | public void loadPart(java.lang.String part, DownloadServiceListener progress) throws java.io.IOException;
|
---|
18 |
|
---|
19 | public void loadPart(java.lang.String[] parts, DownloadServiceListener progress) throws java.io.IOException;
|
---|
20 |
|
---|
21 | public void loadExtensionPart(java.net.URL ref, java.lang.String version, java.lang.String part, DownloadServiceListener progress) throws java.io.IOException;
|
---|
22 |
|
---|
23 | public void loadExtensionPart(java.net.URL ref, java.lang.String version, java.lang.String[] parts, DownloadServiceListener progress) throws java.io.IOException;
|
---|
24 |
|
---|
25 | public void removeResource(java.net.URL ref, java.lang.String version) throws java.io.IOException;
|
---|
26 |
|
---|
27 | public void removePart(java.lang.String part) throws java.io.IOException;
|
---|
28 |
|
---|
29 | public void removePart(java.lang.String[] parts) throws java.io.IOException;
|
---|
30 |
|
---|
31 | public void removeExtensionPart(java.net.URL ref, java.lang.String version, java.lang.String part) throws java.io.IOException;
|
---|
32 |
|
---|
33 | public void removeExtensionPart(java.net.URL ref, java.lang.String version, java.lang.String[] parts) throws java.io.IOException;
|
---|
34 |
|
---|
35 | public DownloadServiceListener getDefaultProgressWindow();
|
---|
36 |
|
---|
37 | }
|
---|