|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--org.novadeck.jxla.data.DayData
contains all information read from log files about one day
| Field Summary | |
protected java.util.HashMap |
_hits
keys are uris resquested |
protected java.util.HashMap |
_referers
keys are list of referers |
protected java.util.HashMap |
_remote_ip
keys are list of remote ips |
| Constructor Summary | |
DayData(int day,
MonthData month)
constructor |
|
| Method Summary | |
void |
addLine(Line l)
update day data with line information |
void |
dumpData(Output out)
Write day report to the specified output |
static void |
dumpEmptyData(Output out)
generate an empty day report |
int |
getDay()
to retrieve day of month |
long |
getFiles()
Return the number of files requested in the current day. |
long |
getHits()
retur the number of hit requested in current day |
long |
getPages()
Return the number of pages requested in the current day |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected java.util.HashMap _referers
protected java.util.HashMap _remote_ip
protected java.util.HashMap _hits
| Constructor Detail |
public DayData(int day,
MonthData month)
day - day in the monthmonth - month information containing current day| Method Detail |
public int getDay()
public void addLine(Line l)
l - a log line parsed
public void dumpData(Output out)
throws java.io.IOException
out - output stream to write the reportIOException - if an IO error occures
public static void dumpEmptyData(Output out)
throws java.io.IOException
out - output where to write the reportIOException - IO errorpublic long getHits()
public long getFiles()
public long getPages()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||