Class XPersistenceService
java.lang.Object
net.sourceforge.jnlp.services.XPersistenceService
- All Implemented Interfaces:
PersistenceService
The BasicService JNLP service.
- Version:
- $Revision: 1.7 $
-
Field Summary
FieldsFields inherited from interface PersistenceService
CACHED, DIRTY, TEMPORARY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidcheckLocation(URL location) Checks whether the application has access to URL area requested.longvoidString[]intvoidprivate FiletoCacheFile(URL location) Converts a URL into a file in the persistence store.
-
Field Details
-
LOG
-
-
Constructor Details
-
XPersistenceService
XPersistenceService()
-
-
Method Details
-
checkLocation
Checks whether the application has access to URL area requested. If the method returns normally then the specified location can be accessed by the current application.- Throws:
MalformedURLException- if the application cannot access the location
-
toCacheFile
-
create
- Specified by:
createin interfacePersistenceService- Returns:
- the maximum size of storage that got granted, in bytes
- Throws:
MalformedURLException- if the application cannot access the locationIOException
-
delete
- Specified by:
deletein interfacePersistenceService- Throws:
MalformedURLException- if the application cannot access the locationIOException
-
get
- Specified by:
getin interfacePersistenceService- Throws:
MalformedURLException- if the application cannot access the locationIOException
-
getNames
- Specified by:
getNamesin interfacePersistenceService- Throws:
MalformedURLException- if the application cannot access the locationIOException
-
getTag
- Specified by:
getTagin interfacePersistenceService- Throws:
MalformedURLException- if the application cannot access the locationIOException
-
setTag
- Specified by:
setTagin interfacePersistenceService- Throws:
MalformedURLException- if the application cannot access the locationIOException
-