java.lang.Object | |
↳ | com.atlassian.jira.util.resourcebundle.DefaultResourceBundle |
Provides access to the default ResourceBundle. That is, the bundle for "JiraWebActionSupport.properties" for the various languanges/locales.
This class caches the ResourceBundle per locale, because the lookup is expensive and causes thread contention. Default ResourceBundles must live in the core ClassLoader and can be cached permanently as they cannot change. This is not so simple for custom translations for plugins (other ResourceBundles), and so they are not included here.
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
DEFAULT_RESOURCE_BUNDLE_NAME |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the Default Resource Bundle (JiraWebActionSupport.properties) for the given locale.
| |||||||||||
Returns true if and only if the default resource bundle data is
stale for the given locale.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class java.lang.Object |
Returns the Default Resource Bundle (JiraWebActionSupport.properties) for the given locale.
locale | The locale. |
---|
Returns true if and only if the default resource bundle data is stale for the given locale. This is used by I18nBean.CachingFactory to flush the cache when the default resource bundle is modified. This is only relevant in dev mode, as otherwise we will not have a DebuggingResourceBundle and so can not reload it anyway.
locale | the locale within which to make the check |
---|