Package lumis.util

Interface IResource

    • Method Detail

      • addResourcePath

        void addResourcePath​(java.lang.String resourcePath)
      • getResourcePaths

        java.util.Enumeration<java.lang.String> getResourcePaths()
      • localize

        default java.lang.String localize​(java.lang.String stringId)
                                   throws PortalException
        Localizes a string using this string resource.

        This is the same as ILocalizationManager.localize(String, IResource).

        Parameters:
        stringId - the string id to localize.
        Returns:
        the localized string, or given the received string id when no localization was found. If the given id is null, null is returned.
        Throws:
        PortalException
        Since:
        17.0.0