Class TargetingUtils


  • public class TargetingUtils
    extends Object
    Utility methods for content targeting.
    Author:
    avasquez
    • Method Detail

      • getMatchingRootFolder

        public static String getMatchingRootFolder​(String targetedUrl)
        Return the root folder of the specified targeted URL
        Parameters:
        targetedUrl - the targeted URL
        Returns:
        the root folder that matches the targeted URL
      • excludePath

        public static boolean excludePath​(String path)
        Returns true if the path should be excluded or ignored for targeting.
        Parameters:
        path - the path
        Returns:
        true if the path should be excluded