com.atlassian.confluence.util.i18n
Class ResourceBundleI18NResource

java.lang.Object
  extended by com.atlassian.confluence.util.i18n.ResourceBundleI18NResource
All Implemented Interfaces:
I18NResource
Direct Known Subclasses:
ClasspathI18NResource, HelpPathsI18NResource

public abstract class ResourceBundleI18NResource
extends Object
implements I18NResource


Constructor Summary
ResourceBundleI18NResource()
           
 
Method Summary
 ResourceBundle getBundle()
           
 ResourceBundle getBundle(String localeString)
           
protected abstract  ClassLoader getClassLoader()
           
protected abstract  ResourceBundle.Control getControl()
           
protected abstract  String getLocation()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceBundleI18NResource

public ResourceBundleI18NResource()
Method Detail

getBundle

public ResourceBundle getBundle()
Specified by:
getBundle in interface I18NResource

getBundle

public ResourceBundle getBundle(String localeString)
Specified by:
getBundle in interface I18NResource
Returns:
a different locale version of the bundle mapped to this resource

getLocation

protected abstract String getLocation()

getClassLoader

protected abstract ClassLoader getClassLoader()

getControl

protected abstract ResourceBundle.Control getControl()


Copyright © 2003–2015 Atlassian. All rights reserved.