org.norther.tammi.core.locale
Class ConfigurationResourceBundle
java.lang.Object
java.util.ResourceBundle
org.norther.tammi.core.locale.LookupResourceBundle
org.norther.tammi.core.locale.PluggableResourceBundle
org.norther.tammi.core.locale.ConfigurationResourceBundle
public class ConfigurationResourceBundle
- extends PluggableResourceBundle
A concrete subclass of java.util.ResourceBundle that manages
resources for a locale using a set of static strings from a property file.
- Author:
- Ilkka Priha
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConfigurationResourceBundle
public ConfigurationResourceBundle()
- Constructs a new bundle.
getKeys
public Enumeration getKeys()
- Description copied from class:
LookupResourceBundle
- Implementation of the ResourceBundle.getKeys method.
- Overrides:
getKeys in class LookupResourceBundle
- Returns:
- an enumeration of keys.
getLocale
public Locale getLocale()
- Overrides:
getLocale in class ResourceBundle
lookupKey
public String lookupKey(Object resource)
- Description copied from class:
LookupResourceBundle
- Looks up for a resource key.
- Overrides:
lookupKey in class LookupResourceBundle
- Parameters:
resource - the resource.
- Returns:
- the found key or null.
handleGetObject
protected Object handleGetObject(String key)
- Description copied from class:
LookupResourceBundle
- Implementation of the ResourceBundle.handleGetObject method.
- Overrides:
handleGetObject in class LookupResourceBundle
- Parameters:
key - the key of the object to get.
- Returns:
- the object value.
setParent
protected void setParent(ResourceBundle prnt)
- Overrides:
setParent in class ResourceBundle
Copyright © 2004 The Norther Organization. All rights reserved.