blob: 3180c1f570bdbc5fbc2672199760f13d991b8a84 (
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
package javax.jnlp;
public interface DownloadService2 {
public static class ResourceSpec {
public static final long UNKNOWN = Long.MIN_VALUE;
protected String url;
protected String version;
protected int type;
public ResourceSpec(java.lang.String url, java.lang.String version, int type) {
this.url = url;
this.version = version;
this.type = type;
}
public long getExpirationDate() {
return UNKNOWN;
}
public long getLastModified() {
return UNKNOWN;
}
public long getSize() {
return UNKNOWN;
}
public int getType() {
return type;
}
public java.lang.String getUrl() {
return url;
}
public java.lang.String getVersion() {
return version;
}
}
public static final int ALL = 0;
public static final int APPLET = 2;
public static final int APPLICATION = 1;
public static final int CLASS = 6;
public static final int EXTENSION = 3;
public static final int IMAGE = 5;
public static final int JAR = 4;
public DownloadService2.ResourceSpec[] getCachedResources(
javax.jnlp.DownloadService2.ResourceSpec resourceSpec);
public DownloadService2.ResourceSpec[] getUpdateAvaiableReosurces(
javax.jnlp.DownloadService2.ResourceSpec resourceSpec);
}
|