netx.jnlp.services
Class XPersistenceService
java.lang.Object
netx.jnlp.services.XPersistenceService
- javax.jnlp.PersistenceService
(package private) class XPersistenceService
extends java.lang.Object
implements javax.jnlp.PersistenceService
The BasicService JNLP service.
protected void | checkLocation(URL location) - Checks whether the application has access to URL area
requested.
|
long | create(URL location, long maxsize)
|
void | delete(URL location)
|
javax.jnlp.FileContents | get(URL location)
|
String[] | getNames(URL location)
|
int | getTag(URL location)
|
void | setTag(URL location, int tag)
|
protected File | toCacheFile(URL location) - Converts a URL into a file in the persistence store.
|
XPersistenceService
protected XPersistenceService()
checkLocation
protected void checkLocation(URL location)
throws MalformedURLException
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.
create
public long create(URL location,
long maxsize)
throws MalformedURLException,
IOException
- the maximum size of storage that got granted, in bytes
delete
public void delete(URL location)
throws MalformedURLException,
IOException
get
public javax.jnlp.FileContents get(URL location)
throws MalformedURLException,
IOException,
FileNotFoundException
getNames
public String[] getNames(URL location)
throws MalformedURLException,
IOException
getTag
public int getTag(URL location)
throws MalformedURLException,
IOException
setTag
public void setTag(URL location,
int tag)
throws MalformedURLException,
IOException
toCacheFile
protected File toCacheFile(URL location)
throws MalformedURLException
Converts a URL into a file in the persistence store.