com.atlassian.confluence.util.i18n
Class LanguagePluginI18NResource

java.lang.Object
  extended by com.atlassian.confluence.util.i18n.AbstractI18NResource
      extended by com.atlassian.confluence.util.i18n.LanguagePluginI18NResource
All Implemented Interfaces:
I18NResource

public class LanguagePluginI18NResource
extends AbstractI18NResource


Field Summary
 
Fields inherited from class com.atlassian.confluence.util.i18n.AbstractI18NResource
log
 
Constructor Summary
LanguagePluginI18NResource(com.atlassian.plugin.PluginAccessor pluginAccessor)
           
 
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

LanguagePluginI18NResource

public LanguagePluginI18NResource(com.atlassian.plugin.PluginAccessor pluginAccessor)
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-2013 Atlassian. All Rights Reserved.