Class LanguagePluginI18NResource
java.lang.Object
com.atlassian.confluence.util.i18n.AbstractI18NResource
com.atlassian.confluence.util.i18n.LanguagePluginI18NResource
- All Implemented Interfaces:
I18NResource
-
Field Summary
Fields inherited from class com.atlassian.confluence.util.i18n.AbstractI18NResource
log
-
Constructor Summary
ConstructorsConstructorDescriptionLanguagePluginI18NResource
(com.atlassian.plugin.PluginAccessor pluginAccessor) -
Method Summary
Modifier and TypeMethodDescriptionprotected InputStream
getPropertyResourceAsStream
(String locale) Methods inherited from class com.atlassian.confluence.util.i18n.AbstractI18NResource
getBundle, getBundle
-
Constructor Details
-
LanguagePluginI18NResource
public LanguagePluginI18NResource(com.atlassian.plugin.PluginAccessor pluginAccessor)
-
-
Method Details
-
getPropertyResourceAsStream
- Specified by:
getPropertyResourceAsStream
in classAbstractI18NResource
- Parameters:
locale
- the locale of the properties to load. Can be null.- Returns:
- an InputStream for a properties resource. Should return null if no properties for the given locale were found
-