org.jboss.seam.core
Class SeamResourceBundle
java.lang.Object
java.util.ResourceBundle
org.jboss.seam.core.SeamResourceBundle
public class SeamResourceBundle
- extends ResourceBundle
The Seam resource bundle which searches for resources in delegate resource
bundles specified in pages.xml, and a configurable list of delegate resource
bundles specified in components.xml.
- Author:
- Gavin King
- See Also:
ResourceLoader
Methods inherited from class java.util.ResourceBundle |
clearCache, clearCache, containsKey, getBundle, getBundle, getBundle, getBundle, getBundle, getBundle, getObject, getString, getStringArray, handleKeySet, keySet, setParent |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SeamResourceBundle
public SeamResourceBundle()
getBundle
public static ResourceBundle getBundle()
- Get an instance for the current Seam Locale
- Returns:
- a SeamResourceBundle
- See Also:
Locale
getBundleNamed
public static ResourceBundle getBundleNamed(String bundleName)
getKeys
public Enumeration<String> getKeys()
- Specified by:
getKeys
in class ResourceBundle
handleGetObject
protected Object handleGetObject(String key)
- Specified by:
handleGetObject
in class ResourceBundle
getLocale
public Locale getLocale()
- Overrides:
getLocale
in class ResourceBundle