Class ResourceBundleI18NResource
- java.lang.Object
-
- 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
Constructors Constructor Description ResourceBundleI18NResource()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description ResourceBundle
getBundle()
ResourceBundle
getBundle(String localeString)
protected abstract ClassLoader
getClassLoader()
protected abstract ResourceBundle.Control
getControl()
protected abstract String
getLocation()
-
-
-
Method Detail
-
getBundle
public ResourceBundle getBundle()
- Specified by:
getBundle
in interfaceI18NResource
-
getBundle
public ResourceBundle getBundle(String localeString)
- Specified by:
getBundle
in interfaceI18NResource
- 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()
-
-