|
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||
public interface DownloadService2
Provides cache query services to JNLP applications. Together
with methods in DownloadService, this allows for advanced
programmatic cache management.
| Nested Class Summary | |
|---|---|
static class |
DownloadService2.ResourceSpec
Specifies patterns for resource queries as arguments and holds results in getCachedResources(javax.jnlp.DownloadService2.ResourceSpec) and
getUpdateAvailableResources(javax.jnlp.DownloadService2.ResourceSpec). |
| Method Summary | |
|---|---|
DownloadService2.ResourceSpec[] |
getCachedResources(DownloadService2.ResourceSpec spec)
Returns all resources in the cache that match one of the specified resource specs. |
DownloadService2.ResourceSpec[] |
getUpdateAvailableResources(DownloadService2.ResourceSpec spec)
Returns all resources in the cache that match one of the specified resource specs AND have an update available from their server. |
| Field Detail |
|---|
static final int ALL
getCachedResources(javax.jnlp.DownloadService2.ResourceSpec) and getUpdateAvailableResources(javax.jnlp.DownloadService2.ResourceSpec).
static final int APPLICATION
getCachedResources(javax.jnlp.DownloadService2.ResourceSpec) and getUpdateAvailableResources(javax.jnlp.DownloadService2.ResourceSpec).
static final int APPLET
getCachedResources(javax.jnlp.DownloadService2.ResourceSpec) and getUpdateAvailableResources(javax.jnlp.DownloadService2.ResourceSpec).
static final int EXTENSION
getCachedResources(javax.jnlp.DownloadService2.ResourceSpec) and getUpdateAvailableResources(javax.jnlp.DownloadService2.ResourceSpec).
static final int JAR
getCachedResources(javax.jnlp.DownloadService2.ResourceSpec) and getUpdateAvailableResources(javax.jnlp.DownloadService2.ResourceSpec).
static final int IMAGE
getCachedResources(javax.jnlp.DownloadService2.ResourceSpec) and getUpdateAvailableResources(javax.jnlp.DownloadService2.ResourceSpec).
static final int CLASS
getCachedResources(javax.jnlp.DownloadService2.ResourceSpec) and getUpdateAvailableResources(javax.jnlp.DownloadService2.ResourceSpec).
| Method Detail |
|---|
DownloadService2.ResourceSpec[] getCachedResources(DownloadService2.ResourceSpec spec)
DownloadService2.ResourceSpec. The returned ResourceSpec objects
have specific URL and version properties (i.e. no patterns).
spec - the spec to match resources against java.lang.IllegalArgumentException -
DownloadService2.ResourceSpec[] getUpdateAvailableResources(DownloadService2.ResourceSpec spec)
throws java.io.IOException
DownloadService2.ResourceSpec. The returned ResourceSpec objects
have specific URL and version properties (i.e. no patterns).
specs - the spec to match resources against
java.io.IOException - if something went wrong during update checks
java.lang.IllegalArgumentException -
|
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||