Interface IResourceLoader

All Superinterfaces:
IComponent, IInitializable

public interface IResourceLoader extends IComponent
Loads resources with Localalization in mind
  • Method Details

    • getResourceBundle

      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
      Parameters:
      resourceBundleClass - a reference to the resourceBundleClass
      locale - the locale specific resource bundle
      See Also:
    • getResourceLocation

      String getResourceLocation(String resource)
      See Also:
    • getResourceLocation

      String getResourceLocation(String resource, Locale locale)
      Given a resource and a locale find the correct localized resource