source: trunk/icedtea-web/netx/javax/jnlp/PersistenceService.java

Last change on this file was 348, checked in by dmik, 13 years ago

vendor: Add icedtea-web v1.1.2 to current.

File size: 871 bytes
Line 
1package javax.jnlp;
2
3public interface PersistenceService {
4
5 public static final int CACHED = 0;
6 public static final int TEMPORARY = 1;
7 public static final int DIRTY = 2;
8
9 public long create(java.net.URL url, long maxsize) throws java.net.MalformedURLException, java.io.IOException;
10
11 public FileContents get(java.net.URL url) throws java.net.MalformedURLException, java.io.IOException, java.io.FileNotFoundException;
12
13 public void delete(java.net.URL url) throws java.net.MalformedURLException, java.io.IOException;
14
15 public java.lang.String[] getNames(java.net.URL url) throws java.net.MalformedURLException, java.io.IOException;
16
17 public int getTag(java.net.URL url) throws java.net.MalformedURLException, java.io.IOException;
18
19 public void setTag(java.net.URL url, int tag) throws java.net.MalformedURLException, java.io.IOException;
20
21}
Note: See TracBrowser for help on using the repository browser.