Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.tonbeller.tbutils.res
Interface ResourceProvider

All Known Subinterfaces:
  InitialProvider, PersistentResourceProvider

All Known Implementing Classes:
  BundleResourceProvider, CompositeResourceProvider, JNDIResourceProvider, NullResourceProvider, PropertyResourceProvider, ReplacingResourceProvider, ServletContextResourceProvider, SimpleInitialProvider, SystemResourceProvider

public interface ResourceProvider

Hides various ways of accessing name/value pairs.

Method Summary
`void` | `close()` frees resources
`void` | `dump(Dumper d)` for debugging / logging
`java.lang.String` | `getName()` for debugging / logging
`java.lang.String` | `getString(java.lang.String key)` returns null if key does not exist
`java.util.Collection` | `keySet()`

Method Detail

### getString

    public java.lang.String getString(java.lang.String key)

  returns null if key does not exist

### keySet

    public java.util.Collection keySet()

### close

    public void close()

  frees resources

### dump

    public void dump(Dumper d)

  for debugging / logging

### getName

    public java.lang.String getName()

  for debugging / logging

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD