apollo.dev
Class DevPersistenceService

java.lang.Object
  |
  +--apollo.dev.DevPersistenceService
All Implemented Interfaces:
PersistenceService

public class DevPersistenceService
extends java.lang.Object
implements PersistenceService


Field Summary
 
Fields inherited from interface apollo.PersistenceService
CACHED, DIRTY, TEMPORARY
 
Constructor Summary
DevPersistenceService()
           
 
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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DevPersistenceService

public DevPersistenceService()
Method Detail

setTag

public void setTag(java.net.URL url,
                   int tag)
            throws java.net.MalformedURLException
Specified by:
setTag in interface PersistenceService
java.net.MalformedURLException

get

public FileContents get(java.net.URL url)
                 throws java.net.MalformedURLException,
                        java.io.IOException,
                        java.io.FileNotFoundException
Specified by:
get in interface PersistenceService
java.net.MalformedURLException
java.io.IOException
java.io.FileNotFoundException

getNames

public java.lang.String[] getNames(java.net.URL url)
                            throws java.net.MalformedURLException,
                                   java.io.IOException
Specified by:
getNames in interface PersistenceService
java.net.MalformedURLException
java.io.IOException

getTag

public int getTag(java.net.URL url)
           throws java.net.MalformedURLException
Specified by:
getTag in interface PersistenceService
java.net.MalformedURLException

create

public long create(java.net.URL url,
                   long maxSize)
            throws java.net.MalformedURLException,
                   java.io.IOException
Specified by:
create in interface PersistenceService
java.net.MalformedURLException
java.io.IOException

delete

public void delete(java.net.URL url)
            throws java.net.MalformedURLException,
                   java.io.IOException
Specified by:
delete in interface PersistenceService
java.net.MalformedURLException
java.io.IOException


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