KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tonbeller > tbutils > res > PersistentResourceProvider


1 package com.tonbeller.tbutils.res;
2
3 /**
4  * @author av
5  * @since 18.01.2005
6  */

7 public interface PersistentResourceProvider extends ResourceProvider {
8   /**
9    * sets a key/value pair to the storage
10    */

11   public void store(String JavaDoc key, String JavaDoc value);
12   /**
13    * removes a key
14    */

15   public void remove(String JavaDoc key);
16   /**
17    * commits changes into the storage.
18    */

19   public void flush();
20 }
21
Popular Tags