public interface MessageBundleFactory
| Modifier and Type | Method and Description |
|---|---|
MessageBundle |
getBundle(GadgetSpec spec,
Locale locale,
boolean ignoreCache,
String container,
String view)
Retrieves a messagMessageBundle for the provided GadgetSpec and Locale.
|
MessageBundle getBundle(GadgetSpec spec, Locale locale, boolean ignoreCache, String container, String view) throws GadgetException
spec - The gadget to inspect for Locales.locale - The language and country to get a message bundle for.ignoreCache - True to bypass any caching of message bundles for debugging purposes.container - The container that is requesting this message bundleview - The view for which to return the Locale appropriate message bundle. To retrieve only globally scoped bundles pass 'null'.GadgetException - if retrieval fails for any reason.Copyright © 2007-2014 The Apache Software Foundation. All Rights Reserved.