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.MalformedURLExceptionjava.io.IOExceptionFileContents get(java.net.URL url) throws java.net.MalformedURLException, java.io.IOException, java.io.FileNotFoundException
java.net.MalformedURLExceptionjava.io.IOExceptionjava.io.FileNotFoundExceptionvoid delete(java.net.URL url)
throws java.net.MalformedURLException,
java.io.IOException
java.net.MalformedURLExceptionjava.io.IOExceptionjava.lang.String[] getNames(java.net.URL url)
throws java.net.MalformedURLException,
java.io.IOException
java.net.MalformedURLExceptionjava.io.IOExceptionint getTag(java.net.URL url)
throws java.net.MalformedURLException,
java.io.IOException
java.net.MalformedURLExceptionjava.io.IOExceptionvoid setTag(java.net.URL url,
int tag)
throws java.net.MalformedURLException,
java.io.IOException
java.net.MalformedURLExceptionjava.io.IOException