Class SearchEngineRule


  • public class SearchEngineRule
    extends Object
    Matching tool able to find if a referer is a particular search engine.
    Version:
    $Id: 8ed2182d85ffc342da84a882e67861d2351d6805 $
    • Constructor Detail

      • SearchEngineRule

        public SearchEngineRule​(String host,
                                String regEx)
        Parameters:
        host - the search engine server address.
        regEx - the regular expression to match.
    • Method Detail

      • getHost

        public String getHost()
        Returns:
        the search engine server address.
      • setHost

        public void setHost​(String host)
        Parameters:
        host - the search engine server address.
      • getRegEx

        public String getRegEx()
        Returns:
        the regular expression to match.
      • setRegEx

        public void setRegEx​(String regEx)
        Parameters:
        regEx - the regular expression to match.