aboutsummaryrefslogtreecommitdiffstats
path: root/netx/javax/jnlp/PersistenceService.java
blob: 10de8e626fcb72b7c6998d125ca635164d3ad2c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package javax.jnlp;

public interface PersistenceService {

    public static final int CACHED = 0;
    public static final int TEMPORARY = 1;
    public static final int DIRTY = 2;

    public long create(java.net.URL url, long maxsize) throws java.net.MalformedURLException, java.io.IOException;

    public FileContents get(java.net.URL url) throws java.net.MalformedURLException, java.io.IOException, java.io.FileNotFoundException;

    public void delete(java.net.URL url) throws java.net.MalformedURLException, java.io.IOException;

    public java.lang.String[] getNames(java.net.URL url) throws java.net.MalformedURLException, java.io.IOException;

    public int getTag(java.net.URL url) throws java.net.MalformedURLException, java.io.IOException;

    public void setTag(java.net.URL url, int tag) throws java.net.MalformedURLException, java.io.IOException;

}