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 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

      void setLocale(Locale l)
      Sets the locale used for this resource bundle.

      Parameters:
      l - the locale to set
    • setParent

      void setParent(ResourceBundle parent)
      Sets the parent bundle.

      Parameters:
      parent - the parent bundle to set