| java.lang.Object org.iscreen.impl.ResourceValue
ResourceValue | public class ResourceValue (Code) | | A ResourceValue is a combination of a key and the Resource that's
associated with it. Fundamentally, then, an instance of this class
represents a value within a Resource prior to "realizing" that value.
author: Shellman, Dan |
Method Summary | |
public String | getValue(Locale locale) Retrieves the value associated with this key/resource pair that
this instance represents.
Parameters: locale - The locale to use in getting the value. |
ResourceValue | public ResourceValue(Resource theResource, String theKey)(Code) | | Construct with given resource and key.
Parameters: theResource - The Resource. Parameters: theKey - The key to the value within the Resource. |
ResourceValue | public ResourceValue(String theValue)(Code) | | Construct with the given value. In this case, no resource or key
are involved.
Parameters: theValue - The value of this resource/key pair. |
getValue | public String getValue(Locale locale)(Code) | | Retrieves the value associated with this key/resource pair that
this instance represents.
Parameters: locale - The locale to use in getting the value. Returns the value associated with the key and Resource. |
|
|