public interface IResourceLoader extends IComponent
Modifier and Type | Method and Description |
---|---|
ResourceBundle |
getResourceBundle(Class<?> resourceBundleClass,
Locale locale)
Given a source object, (a portletbean, a command, kernel code, etc...)
find the appropriate resourceBundle or the default PortalSystem ResourceBundle
|
String |
getResourceLocation(String resource) |
String |
getResourceLocation(String resource,
Locale locale)
Given a resource and a locale find the correct localized resource
|
getComponentData, getComponentName, getComponentProvider, getURI, isInitialized, setComponentData, setComponentProvider
init, shutdown
ResourceBundle getResourceBundle(Class<?> resourceBundleClass, Locale locale)
resourceBundleClass
- a reference to the resourceBundleClasslocale
- the locale specific resource bundleIMessageCategoryProvider
String getResourceLocation(String resource)
getResourceLocation(java.lang.String)