com.atlassian.confluence.util.i18n
Class PluginI18NResource

java.lang.Object
  extended by com.atlassian.confluence.util.i18n.AbstractI18NResource
      extended by 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
PluginI18NResource(com.atlassian.plugin.Plugin plugin, com.atlassian.plugin.elements.ResourceDescriptor resourceDescriptor)
           
 
Method Summary
protected  InputStream getPropertyResourceAsStream(String locale)
           
 
Methods inherited from class com.atlassian.confluence.util.i18n.AbstractI18NResource
getBundle, getBundle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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


Copyright © 2003-2012 Atlassian. All Rights Reserved.