Package com.xpn.xwiki.stats.impl
Class SearchEngineRule
- java.lang.Object
-
- 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: 8ed2182d85ffc342da84a882e67861d2351d6805 $
-
-
Constructor Summary
Constructors Constructor Description SearchEngineRule(String host, String regEx)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getHost()
String
getRegEx()
void
setHost(String host)
void
setRegEx(String regEx)
-
-
-
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.
-
-