aboutsummaryrefslogtreecommitdiffstats
path: root/netx/javax/jnlp/DownloadService.java
blob: 6710fc621ac777a497e60deeabe15c667d6030a9 (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


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();

}