public class

PluginI18NResource

extends AbstractI18NResource
java.lang.Object
   ↳ com.atlassian.confluence.util.i18n.AbstractI18NResource
     ↳ com.atlassian.confluence.util.i18n.PluginI18NResource

Summary

[Expand]
Inherited Fields
From class com.atlassian.confluence.util.i18n.AbstractI18NResource
Public Constructors
PluginI18NResource(Plugin plugin, ResourceDescriptor resourceDescriptor)
Protected Methods
InputStream getPropertyResourceAsStream(String locale)
[Expand]
Inherited Methods
From class com.atlassian.confluence.util.i18n.AbstractI18NResource
From class java.lang.Object
From interface com.atlassian.confluence.util.i18n.I18NResource

Public Constructors

public PluginI18NResource (Plugin plugin, ResourceDescriptor resourceDescriptor)

Protected Methods

protected InputStream getPropertyResourceAsStream (String locale)

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