public class HstLocalizationUtils extends Object
Modifier and Type | Method and Description |
---|---|
static ResourceBundle |
getCurrentDefaultResourceBundle()
Resolve and return the default resource bundle(s) configured in HST-2 configurations.
|
static ResourceBundle |
getCurrentDefaultResourceBundle(ResourceBundle defaultBundleWhenNotFound)
Resolve and return the default resource bundle(s) configured in HST-2 configurations.
|
public static ResourceBundle getCurrentDefaultResourceBundle()
For performance reason, the resolved default resource bundle is stored in HstRequestContext attribute not to resolve again in the same request processing cycle.
public static ResourceBundle getCurrentDefaultResourceBundle(ResourceBundle defaultBundleWhenNotFound)
For performance reason, the resolved default resource bundle is stored in HstRequestContext attribute not to resolve again in the same request processing cycle.
defaultBundleWhenNotFound
- default resource bundle to use when no bundle found.Copyright © 2019. All rights reserved.