Package org.hippoecm.hst.resourcebundle
Interface ResourceBundleRegistry
public interface ResourceBundleRegistry
ResourceBundleRegistry
ResourceBundleRegistry enables to look up a resource bundle.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the resource bundle based on the specific basename for the default locale.Returns the resource bundle based on the specific basename and locale.getBundleForPreview
(String basename) Returns the resource bundle based on the specific basename for the default locale.getBundleForPreview
(String basename, Locale locale) Returns the resource bundle based on the specific basename and locale.
-
Method Details
-
getBundle
Returns the resource bundle based on the specific basename for the default locale.- Parameters:
basename
-- Returns:
- the resource bundle based on the specific basename for the default locale.
-
getBundleForPreview
Returns the resource bundle based on the specific basename for the default locale.- Parameters:
basename
-- Returns:
- the resource bundle based on the specific basename for the default locale.
-
getBundle
Returns the resource bundle based on the specific basename and locale.- Parameters:
basename
-locale
-- Returns:
- the resource bundle based on the specific basename and locale.
-
getBundleForPreview
Returns the resource bundle based on the specific basename and locale.- Parameters:
basename
-locale
-- Returns:
- the resource bundle based on the specific basename and locale.
-