com.xpn.xwiki.stats.impl
Class SearchEngineRule

java.lang.Object
  extended by com.xpn.xwiki.stats.impl.SearchEngineRule

public class SearchEngineRule
extends Object

Matching tool able to find if a referer is a particular search engine.

Version:
$Id: 4f64628a9c1188839be7c8447fb7f5246f50a76e $

Constructor Summary
SearchEngineRule(String host, String regEx)
           
 
Method Summary
 String getHost()
           
 String getRegEx()
           
 void setHost(String host)
           
 void setRegEx(String regEx)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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.


Copyright © 2004-2013 XWiki. All Rights Reserved.