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, pluginAccessor
 
Constructor Summary
PluginI18NResource(com.atlassian.plugin.elements.ResourceDescriptor resourceDescriptor, com.atlassian.plugin.PluginAccessor pluginAccessor)
           
 
Method Summary
protected  java.lang.String getResourcePath(java.lang.String locale)
           
 
Methods inherited from class com.atlassian.confluence.util.i18n.AbstractI18NResource
getBundle, getBundle, loadBundle
 
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.elements.ResourceDescriptor resourceDescriptor,
                          com.atlassian.plugin.PluginAccessor pluginAccessor)
Method Detail

getResourcePath

protected java.lang.String getResourcePath(java.lang.String locale)
Specified by:
getResourcePath in class AbstractI18NResource
Returns:
returns an actual path to the bundle (that takes into account the locale specified in the descriptor


Copyright © 2003-2009 Atlassian Pty Ltd. All Rights Reserved.