Interface IResourceLoader
- All Superinterfaces:
IComponent
,IInitializable
Loads resources with Localalization in mind
-
Method Summary
Modifier and TypeMethodDescriptiongetResourceBundle
(Class<?> resourceBundleClass, Locale locale) Given a source object, (a portletbean, a command, kernel code, etc...) find the appropriate resourceBundle or the default PortalSystem ResourceBundlegetResourceLocation
(String resource) getResourceLocation
(String resource, Locale locale) Given a resource and a locale find the correct localized resourceMethods inherited from interface com.webmethods.portal.system.IComponent
getComponentData, getComponentName, getComponentProvider, getURI, isInitialized, setComponentData, setComponentProvider
Methods inherited from interface com.webmethods.portal.system.init.IInitializable
init, shutdown
-
Method Details
-
getResourceBundle
Given a source object, (a portletbean, a command, kernel code, etc...) find the appropriate resourceBundle or the default PortalSystem ResourceBundle- Parameters:
resourceBundleClass
- a reference to the resourceBundleClasslocale
- the locale specific resource bundle- See Also:
-
getResourceLocation
- See Also:
-
getResourceLocation
Given a resource and a locale find the correct localized resource
-