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: 4f64628a9c1188839be7c8447fb7f5246f50a76e $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SearchEngineRule
public SearchEngineRule(String host,
String regEx)
- Parameters:
host
- the search engine server address.regEx
- the regular expression to match.
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.