KickJava   Java API By Example, From Geeks To Geeks.

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


1 package com.tonbeller.tbutils.res;
2
3 import java.util.Collection JavaDoc;
4
5 /**
6  * Hides various ways of accessing name/value pairs.
7  */

8 public interface ResourceProvider {
9   /** returns null if key does not exist */
10   String JavaDoc getString(String JavaDoc key);
11
12   Collection JavaDoc keySet();
13   
14   /** frees resources */
15   void close();
16   
17   /** for debugging / logging */
18   void dump(Dumper d);
19   /** for debugging / logging */
20   String JavaDoc getName();
21 }
22
Popular Tags