Package org.hippoecm.hst.resourcebundle
Interface ResourceBundleRegistry
-
public interface ResourceBundleRegistry
ResourceBundleRegistryResourceBundleRegistry enables to look up a resource bundle.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ResourceBundle
getBundle(String basename)
Returns the resource bundle based on the specific basename for the default locale.ResourceBundle
getBundle(String basename, Locale locale)
Returns the resource bundle based on the specific basename and locale.ResourceBundle
getBundleForPreview(String basename)
Returns the resource bundle based on the specific basename for the default locale.ResourceBundle
getBundleForPreview(String basename, Locale locale)
Returns the resource bundle based on the specific basename and locale.
-
-
-
Method Detail
-
getBundle
ResourceBundle getBundle(String basename)
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
ResourceBundle getBundleForPreview(String basename)
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
ResourceBundle getBundle(String basename, Locale locale)
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
ResourceBundle getBundleForPreview(String basename, Locale locale)
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.
-
-