org.polliwog.data
Class Weblog

java.lang.Object
  extended by org.polliwog.data.Log
      extended by org.polliwog.data.Weblog

public class Weblog
extends Log


Constructor Summary
Weblog(PageCollector pc)
           
Weblog(java.lang.String pageSpec)
           
 
Method Summary
 void addComment(java.lang.String line)
           
 void addHit(Hit hit)
           
 void addToStats(Hit hit)
           
 void clear()
           
 java.io.File getFile()
           
 int getHitsCount()
           
 HitStatistics getHitStatistics()
           
 java.lang.String getSite()
           
 java.util.List getVisits(long timeout)
           
 void setFile(java.io.File f)
           
 void setHitsCount(int c)
           
 void setSite(java.lang.String ipAddr)
           
 
Methods inherited from class org.polliwog.data.Log
addEntry, getEntries
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Weblog

public Weblog(PageCollector pc)
       throws WeblogException
Throws:
WeblogException

Weblog

public Weblog(java.lang.String pageSpec)
       throws WeblogException
Throws:
WeblogException
Method Detail

getFile

public java.io.File getFile()

clear

public void clear()

setFile

public void setFile(java.io.File f)

setSite

public void setSite(java.lang.String ipAddr)

getSite

public java.lang.String getSite()

addComment

public void addComment(java.lang.String line)

getHitStatistics

public HitStatistics getHitStatistics()

getVisits

public java.util.List getVisits(long timeout)
                         throws WeblogException
Throws:
WeblogException

addToStats

public void addToStats(Hit hit)
                throws WeblogException
Throws:
WeblogException

addHit

public void addHit(Hit hit)
            throws WeblogException
Throws:
WeblogException

getHitsCount

public int getHitsCount()

setHitsCount

public void setHitsCount(int c)


  Copyright © 2007 Gary Bentley. All Rights Reserved.