aboutsummaryrefslogtreecommitdiffstats
path: root/netx/javax/jnlp/DownloadService.java
blob: 558b9b4c1ed48e7d499319e482b17620e27ff48b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
package javax.jnlp;

public interface DownloadService {

    public boolean isResourceCached(java.net.URL ref, java.lang.String version);

    public boolean isPartCached(java.lang.String part);

    public boolean isPartCached(java.lang.String[] parts);

    public boolean isExtensionPartCached(java.net.URL ref, java.lang.String version, java.lang.String part);

    public boolean isExtensionPartCached(java.net.URL ref, java.lang.String version, java.lang.String[] parts);

    public void loadResource(java.net.URL ref, java.lang.String version, DownloadServiceListener progress) throws java.io.IOException;

    public void loadPart(java.lang.String part, DownloadServiceListener progress) throws java.io.IOException;

    public void loadPart(java.lang.String[] parts, DownloadServiceListener progress) throws java.io.IOException;

    public void loadExtensionPart(java.net.URL ref, java.lang.String version, java.lang.String part, DownloadServiceListener progress) throws java.io.IOException;

    public void loadExtensionPart(java.net.URL ref, java.lang.String version, java.lang.String[] parts, DownloadServiceListener progress) throws java.io.IOException;

    public void removeResource(java.net.URL ref, java.lang.String version) throws java.io.IOException;

    public void removePart(java.lang.String part) throws java.io.IOException;

    public void removePart(java.lang.String[] parts) throws java.io.IOException;

    public void removeExtensionPart(java.net.URL ref, java.lang.String version, java.lang.String part) throws java.io.IOException;

    public void removeExtensionPart(java.net.URL ref, java.lang.String version, java.lang.String[] parts) throws java.io.IOException;

    public DownloadServiceListener getDefaultProgressWindow();

}