Interface I_CmsLinkParseable

    • Method Detail

      • parseLinks

        java.util.List<CmsLinkparseLinks​(CmsObject cms,
                                           CmsFile file)
        Returns a list of all links from the specified file.

        Implementations of this method must return an empty list, or better Collections.EMPTY_LIST, if no link is found at all.

        Implementations of this method should return the list of links including internal (OpenCms VFS) and external links (http, https, mailto, ftp, etc.).

        Parameters:
        cms - the current user's context
        file - the file to be parsed
        Returns:
        a list of CmsLink objects with the URIs of all linked resources