|
Homepage | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnetx.jnlp.services.XDownloadService
class XDownloadService
The BasicService JNLP service.
Constructor Summary | |
---|---|
protected |
XDownloadService()
|
Method Summary | |
---|---|
javax.jnlp.DownloadServiceListener |
getDefaultProgressWindow()
Returns a listener that will automatically display download progress to the user. |
boolean |
isExtensionPartCached(java.net.URL ref,
java.lang.String version,
java.lang.String part)
Returns whether the part in an extension (specified by the url and version) is cached locally. |
boolean |
isExtensionPartCached(java.net.URL ref,
java.lang.String version,
java.lang.String[] parts)
Returns whether the parts in an extension (specified by the url and version) are cached locally. |
boolean |
isPartCached(java.lang.String part)
Returns whether the part of the calling application is cached locally. |
boolean |
isPartCached(java.lang.String[] parts)
Returns whether all of the parts of the calling application are cached locally. |
boolean |
isResourceCached(java.net.URL ref,
java.lang.String version)
Returns whether the resource is cached locally. |
void |
loadExtensionPart(java.net.URL ref,
java.lang.String version,
java.lang.String[] parts,
javax.jnlp.DownloadServiceListener progress)
Downloads the parts of an extension. |
void |
loadExtensionPart(java.net.URL ref,
java.lang.String version,
java.lang.String part,
javax.jnlp.DownloadServiceListener progress)
Downloads a part of an extension. |
void |
loadPart(java.lang.String[] parts,
javax.jnlp.DownloadServiceListener progress)
Downloads the parts. |
void |
loadPart(java.lang.String part,
javax.jnlp.DownloadServiceListener progress)
Downloads the part. |
void |
loadResource(java.net.URL ref,
java.lang.String version,
javax.jnlp.DownloadServiceListener progress)
Downloads a resource. |
void |
removeExtensionPart(java.net.URL ref,
java.lang.String version,
java.lang.String part)
Notify the system that an extension's part is no longer important to cache. |
void |
removeExtensionPart(java.net.URL ref,
java.lang.String version,
java.lang.String[] parts)
Notify the system that an extension's parts are no longer important to cache. |
void |
removePart(java.lang.String part)
Notifies the system that a part is no longer important to cache. |
void |
removePart(java.lang.String[] parts)
Notifies the system that the parts is no longer important to cache. |
void |
removeResource(java.net.URL ref,
java.lang.String version)
Notifies the system that the resource is no longer important to cache. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected XDownloadService()
Method Detail |
---|
public javax.jnlp.DownloadServiceListener getDefaultProgressWindow()
getDefaultProgressWindow
in interface javax.jnlp.DownloadService
public boolean isExtensionPartCached(java.net.URL ref, java.lang.String version, java.lang.String part)
isExtensionPartCached
in interface javax.jnlp.DownloadService
public boolean isExtensionPartCached(java.net.URL ref, java.lang.String version, java.lang.String[] parts)
isExtensionPartCached
in interface javax.jnlp.DownloadService
public boolean isPartCached(java.lang.String part)
isPartCached
in interface javax.jnlp.DownloadService
public boolean isPartCached(java.lang.String[] parts)
isPartCached
in interface javax.jnlp.DownloadService
public boolean isResourceCached(java.net.URL ref, java.lang.String version)
isResourceCached
in interface javax.jnlp.DownloadService
public void loadExtensionPart(java.net.URL ref, java.lang.String version, java.lang.String[] parts, javax.jnlp.DownloadServiceListener progress) throws java.io.IOException
loadExtensionPart
in interface javax.jnlp.DownloadService
java.io.IOException
public void loadExtensionPart(java.net.URL ref, java.lang.String version, java.lang.String part, javax.jnlp.DownloadServiceListener progress) throws java.io.IOException
loadExtensionPart
in interface javax.jnlp.DownloadService
java.io.IOException
public void loadPart(java.lang.String[] parts, javax.jnlp.DownloadServiceListener progress) throws java.io.IOException
loadPart
in interface javax.jnlp.DownloadService
java.io.IOException
public void loadPart(java.lang.String part, javax.jnlp.DownloadServiceListener progress) throws java.io.IOException
loadPart
in interface javax.jnlp.DownloadService
java.io.IOException
public void loadResource(java.net.URL ref, java.lang.String version, javax.jnlp.DownloadServiceListener progress) throws java.io.IOException
loadResource
in interface javax.jnlp.DownloadService
java.io.IOException
public void removeExtensionPart(java.net.URL ref, java.lang.String version, java.lang.String part) throws java.io.IOException
removeExtensionPart
in interface javax.jnlp.DownloadService
java.io.IOException
public void removeExtensionPart(java.net.URL ref, java.lang.String version, java.lang.String[] parts) throws java.io.IOException
removeExtensionPart
in interface javax.jnlp.DownloadService
java.io.IOException
public void removePart(java.lang.String part) throws java.io.IOException
removePart
in interface javax.jnlp.DownloadService
java.io.IOException
public void removePart(java.lang.String[] parts) throws java.io.IOException
removePart
in interface javax.jnlp.DownloadService
java.io.IOException
public void removeResource(java.net.URL ref, java.lang.String version) throws java.io.IOException
removeResource
in interface javax.jnlp.DownloadService
java.io.IOException
|
Homepage | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |