org.iscreen.impl
Interface Resource

All Known Implementing Classes:
ConfiguredResource

public interface Resource

A Resource is a collection of String resources that are accessible via a particular key. Basically, a resource is a dictionary/map.

Author:
Shellman, Dan

Method Summary
 java.lang.String getValue(java.lang.String key, java.util.Locale locale)
          Retrieves a particular value from the resource based upon a given key.
 

Method Detail

getValue

java.lang.String getValue(java.lang.String key,
                          java.util.Locale locale)
Retrieves a particular value from the resource based upon a given key.

Parameters:
key - The key to the resource string.
locale - The locale to use when retrieving the resource value.
Returns:
Returns the resource string for the given key.