com.antelmann.net
Class ServerLogAnalyzer
java.lang.Object
com.antelmann.net.ServerLogAnalyzer
public class ServerLogAnalyzer
- extends Object
provides several methods to analyze a ServerLog
- Author:
- Holger Antelmann
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServerLogAnalyzer
public ServerLogAnalyzer(ServerLog log)
getGoogleSearchStrings
public String[] getGoogleSearchStrings()
writeRefererHostCount
public void writeRefererHostCount(File file)
throws IOException
- Throws:
IOException
refererHostCount
public Map<String,Integer> refererHostCount(Filter<ServerLogEntry> filter)
throws IOException
- returns a map with the key elements being Strings denoting the referer host name
and the mapped value (an Integer) denoting the count.
- Throws:
IOException
writeRefererDomainCount
public void writeRefererDomainCount(File file)
throws IOException
- Throws:
IOException
refererDomainCount
public Map<String,Integer> refererDomainCount(Filter<ServerLogEntry> filter)
throws IOException
- returns a map with the key elements being Strings denoting the referer domain name
and the mapped value (an Integer) denoting the count.
- Throws:
IOException
(c) Holger Antelmann since 2001- all rights reserved (contact: info@antelmann.com)
see www.antelmann.com/developer for further details and available downloads