Class HTMLExpertLinkResolver

java.lang.Object
org.ametys.plugins.newsletter.testsending.HTMLExpertLinkResolver

public final class HTMLExpertLinkResolver extends Object
This class parses and resolve links using ResolveLinkComponent
  • Method Details

    • parseAndResolve

      public static String parseAndResolve(String htmlexpert, String idDataHolderContent)
      Parse a html string and resolve link found
      Parameters:
      htmlexpert - The htmlexpert string
      idDataHolderContent - The id of the content holding the data. Can be null to keep the uri as is
      Returns:
      The string with links resolved