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 a
ResourceBundle.
This interface 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.
- Since:
- 8.0.1
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiongetClone()Creates a clone of the resource bundle.voidSets the locale used for this resource bundle.voidsetParent(ResourceBundle parent) Sets the parent bundle.
-
Method Details
-
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
Sets the locale used for this resource bundle.- Parameters:
l- the locale to set
-
setParent
Sets the parent bundle.- Parameters:
parent- the parent bundle to set
-