public interface PersistenceService
Modifier and Type | Field and Description |
---|---|
static int |
CACHED |
static int |
DIRTY |
static int |
TEMPORARY |
Modifier and Type | Method and Description |
---|---|
long |
create(java.net.URL url,
long maxsize) |
void |
delete(java.net.URL url) |
FileContents |
get(java.net.URL url) |
java.lang.String[] |
getNames(java.net.URL url) |
int |
getTag(java.net.URL url) |
void |
setTag(java.net.URL url,
int tag) |
static final int CACHED
static final int TEMPORARY
static final int DIRTY
long create(java.net.URL url, long maxsize) throws java.net.MalformedURLException, java.io.IOException
java.net.MalformedURLException
java.io.IOException
FileContents get(java.net.URL url) throws java.net.MalformedURLException, java.io.IOException, java.io.FileNotFoundException
java.net.MalformedURLException
java.io.IOException
java.io.FileNotFoundException
void delete(java.net.URL url) throws java.net.MalformedURLException, java.io.IOException
java.net.MalformedURLException
java.io.IOException
java.lang.String[] getNames(java.net.URL url) throws java.net.MalformedURLException, java.io.IOException
java.net.MalformedURLException
java.io.IOException
int getTag(java.net.URL url) throws java.net.MalformedURLException, java.io.IOException
java.net.MalformedURLException
java.io.IOException
void setTag(java.net.URL url, int tag) throws java.net.MalformedURLException, java.io.IOException
java.net.MalformedURLException
java.io.IOException