java.lang.Object |
↳ |
com.atlassian.jira.web.bean.i18n.DefaultTranslationStoreFactory |
Class Overview
Factory for TranslationStore instances. The default behaviour is:
- in OnDemand, creates a byte[]-backed
translation store to save memory (at the cost of extra CPU), and
- in BTF, creates a standard string-backed
translation store
The default can be overridden by setting the
-D{@value #COMPRESS_I18N_PROPERTY}
system property to "true" or "false".
Public Constructors
Public Methods
Creates the appropriate TranslationStore depending on whether we're running in OnDemand or not.
Parameters
bundles
| a Map containing the bundles |