public interface MutableResourceBundleFamily extends ResourceBundleFamily
MutableResourceBundleFamily allows to manage the internal resource bundles.
Modifier and Type | Method and Description |
---|---|
void |
removeLocalizedBundle(Locale locale)
Removes the localized resource bundle specified by the locale for live mode.
|
void |
removeLocalizedBundleForPreview(Locale locale)
Removes the localized resource bundle specified by the locale for preview mode.
|
void |
setDefaultBundle(ResourceBundle bundle)
Sets the default resource bundle for live mode.
|
void |
setDefaultBundleForPreview(ResourceBundle bundle)
Sets the default resource bundle for preview mode.
|
void |
setLocalizedBundle(Locale locale,
ResourceBundle bundle)
Sets the localized resource bundle specified by the locale for live mode.
|
void |
setLocalizedBundleForPreview(Locale locale,
ResourceBundle bundle)
Sets the localized resource bundle specified by the locale for preview mode.
|
getBasename, getDefaultBundle, getDefaultBundleForPreview, getLocalizedBundle, getLocalizedBundleForPreview
void setDefaultBundle(ResourceBundle bundle)
bundle
- void setDefaultBundleForPreview(ResourceBundle bundle)
bundle
- void setLocalizedBundle(Locale locale, ResourceBundle bundle)
locale
- bundle
- void setLocalizedBundleForPreview(Locale locale, ResourceBundle bundle)
locale
- bundle
- void removeLocalizedBundle(Locale locale)
locale
- void removeLocalizedBundleForPreview(Locale locale)
locale
- Copyright © 2008–2016 Hippo B.V. (http://www.onehippo.com). All rights reserved.