Class URLGenerator


  • public class URLGenerator
    extends Object
    Util class used to deal with issues such as URL's and Hashtags.
    Since:
    6.1.0
    Version:
    $Revision: 17955 $ $Date: 2015-11-19 14:54:22 -0200 (Thu, 19 Nov 2015) $
    • Method Detail

      • getInstance

        public static URLGenerator getInstance()
        Returns URLGenerator Instance
        Returns:
        the URL Generator Instance
        Since:
        6.1.0
      • analyzeEmbbededLinks

        public List<String> analyzeEmbbededLinks​(String analyzedText,
                                                 String regex)
        Method that analyzes embedded links in the analyzed text
        Parameters:
        analyzedText - the analyzed text
        regex - regex pattern to be analyzed
        Returns:
        the links
        Since:
        6.1.0