Class PluginI18NResource

    • Constructor Detail

      • PluginI18NResource

        public PluginI18NResource​(com.atlassian.plugin.Plugin plugin,
                                  com.atlassian.plugin.elements.ResourceDescriptor resourceDescriptor)
    • Method Detail

      • getPropertyResourceAsStream

        protected InputStream getPropertyResourceAsStream​(String locale)
        Specified by:
        getPropertyResourceAsStream in class AbstractI18NResource
        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