Class PluginI18NResource
- java.lang.Object
-
- com.atlassian.confluence.util.i18n.AbstractI18NResource
-
- com.atlassian.confluence.util.i18n.PluginI18NResource
-
- All Implemented Interfaces:
I18NResource
public class PluginI18NResource extends AbstractI18NResource
-
-
Field Summary
-
Fields inherited from class com.atlassian.confluence.util.i18n.AbstractI18NResource
log
-
-
Constructor Summary
Constructors Constructor Description PluginI18NResource(com.atlassian.plugin.Plugin plugin, com.atlassian.plugin.elements.ResourceDescriptor resourceDescriptor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected InputStream
getPropertyResourceAsStream(String locale)
-
Methods inherited from class com.atlassian.confluence.util.i18n.AbstractI18NResource
getBundle, getBundle
-
-
-
-
Method Detail
-
getPropertyResourceAsStream
protected InputStream getPropertyResourceAsStream(String locale)
- 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
-
-