Package org.opencms.i18n
Interface I_CmsResourceBundle
-
- All Known Implementing Classes:
CmsListResourceBundle
,CmsPropertyResourceBundle
,CmsVfsResourceBundle
public interface I_CmsResourceBundle
Increases the visibility of some key methods of aResourceBundle
.This interface is required because the methods
setParent(ResourceBundle)
andsetLocale(Locale)
are not visible in the standard implementation. However, access to these methods is required by theCmsResourceBundleLoader
.- Since:
- 8.0.1
- See Also:
CmsResourceBundleLoader
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description I_CmsResourceBundle
getClone()
Creates a clone of the resource bundle.void
setLocale(java.util.Locale l)
Sets the locale used for this resource bundle.void
setParent(java.util.ResourceBundle parent)
Sets the parent bundle.
-
-
-
Method Detail
-
getClone
I_CmsResourceBundle getClone()
Creates a clone of the resource bundle.(This may not actually clone the resource bundle if it is immutable).
- Returns:
- a clone of the resource bundle
-
setLocale
void setLocale(java.util.Locale l)
Sets the locale used for this resource bundle.- Parameters:
l
- the locale to set
-
setParent
void setParent(java.util.ResourceBundle parent)
Sets the parent bundle.- Parameters:
parent
- the parent bundle to set
-
-