org.deltava.util.log
Class ApacheLogParser
java.lang.Object
org.deltava.util.log.ApacheLogParser
- All Implemented Interfaces:
- LogParser
public class ApacheLogParser
- extends Object
- implements LogParser
A Log Parser for Apache 2.0 common access logs. This requires that the log be in the Apache 2.x
format "%h %u %t \"%r\" %>s %B %D".
- Since:
- 1.0
- Version:
- 2.6
- Author:
- Luke
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ApacheLogParser
public ApacheLogParser()
parseLog
public HTTPStatistics parseLog(File f)
- Parses an Apache 2.0 common log file.
- Specified by:
parseLog in interface LogParser
- Parameters:
f - the log file
- Returns:
- the HTTP statistics for that log period
Copyright © 2004-2009 Global Virtual Airlines Group. All Rights Reserved.