|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcorelib.services.web.statistics.StatisticEntry
public class StatisticEntry
This class provides usage statistics of the considered web application for a date. These classes data are stored in a XML file. Here the XML structure associated to this class.
<StatisticEntry date="2010-11-01" sessionCount="1">
<Navigators Firefox="1"/>
<Platforms Linux="1"/>
</StatisticEntry>
| Constructor Summary | |
|---|---|
StatisticEntry(java.lang.String date,
int sessionCount)
Create a new instance initialized with informations stored into a statistic file. |
|
| Method Summary | |
|---|---|
java.lang.String |
getDate()
Returns the date where these informations are taken. |
java.util.Hashtable<java.lang.String,java.lang.Integer> |
getNavigatorCounters()
Returns all navigator counters for this statistic entry. |
java.util.Hashtable<java.lang.String,java.lang.Integer> |
getPlatformCounters()
Returns all platform (operating system) counters for this statistic entry. |
int |
getSessionCount()
Returns the number of session opened for the associated date. |
void |
increaseBrowserCounter(java.lang.String browserName)
Increase browser statistics for the considered browser, in this statistic entry. |
void |
increasePlatformCounter(java.lang.String platformName)
Increase platform statistics for the considered operating system, in this statistic entry. |
void |
increaseSessionCount()
Increase the session count for this statistic entry. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public StatisticEntry(java.lang.String date,
int sessionCount)
date - The date of this statistic entry.sessionCount - The number of session opened at this date.| Method Detail |
|---|
public java.lang.String getDate()
public int getSessionCount()
public void increaseSessionCount()
public java.util.Hashtable<java.lang.String,java.lang.Integer> getNavigatorCounters()
public void increaseBrowserCounter(java.lang.String browserName)
browserName - The name of the used browser.public java.util.Hashtable<java.lang.String,java.lang.Integer> getPlatformCounters()
public void increasePlatformCounter(java.lang.String platformName)
platformName - The name of the used operating system.public java.lang.String toString()
toString in class java.lang.Object
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||