apollo
Interface PersistenceService

All Known Implementing Classes:
DevPersistenceService, JnlpPersistenceService

public interface PersistenceService


Field Summary
static int CACHED
           
static int DIRTY
           
static int TEMPORARY
           
 
Method Summary
 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)
           
 

Field Detail

CACHED

public static final int CACHED
See Also:
Constant Field Values

TEMPORARY

public static final int TEMPORARY
See Also:
Constant Field Values

DIRTY

public static final int DIRTY
See Also:
Constant Field Values
Method Detail

create

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

get

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

delete

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

getNames

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

getTag

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

setTag

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


Copyright © 2001, 2002, 2003 Gerald Bauer. All Rights Reserved. Hosted by SourceForge Logo