public class CmsResourceBundle
extends java.util.PropertyResourceBundle
implements java.io.Serializable
This class is required because the methods setParent(ResourceBundle) and
setLocale(Locale) are not visible in the standard implementation. However,
access to these methods is required by the CmsResourceBundleLoader.
CmsResourceBundleLoader,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
protected java.util.Locale |
m_locale
The locale to use.
|
| Constructor and Description |
|---|
CmsResourceBundle(java.io.InputStream stream)
Default constructer from parent class.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Locale |
getLocale() |
protected void |
setLocale(java.util.Locale l)
Sets the locale used for this resource bundle.
|
protected void |
setParent(java.util.ResourceBundle p) |
getKeys, handleGetObject, handleKeySetpublic CmsResourceBundle(java.io.InputStream stream)
throws java.io.IOException
stream - property file to read fromjava.io.IOException - in case the file could not be read frompublic java.util.Locale getLocale()
getLocale in class java.util.ResourceBundleResourceBundle.getLocale()protected void setLocale(java.util.Locale l)
l - the locale to setprotected void setParent(java.util.ResourceBundle p)
setParent in class java.util.ResourceBundleResourceBundle.setParent(java.util.ResourceBundle)