org.polliwog.utils
Class BasicLogFileIterator

java.lang.Object
  extended by org.polliwog.utils.BasicLogFileIterator
All Implemented Interfaces:
LogFileIterator

public class BasicLogFileIterator
extends java.lang.Object
implements LogFileIterator


Nested Class Summary
 class BasicLogFileIterator.XMLConstants
           
 
Field Summary
static java.lang.String DATE
           
static java.lang.String NUMBER
           
 
Constructor Summary
BasicLogFileIterator()
           
 
Method Summary
 void addLogFile(java.io.File f)
           
 void addLogFile(java.lang.String file)
           
 void addLogFile(java.net.URL url)
           
 void addLogFilesInDirectory(java.io.File d)
           
 void closeCurrentFile()
           
 java.util.Map getFiles()
           
 boolean hasNextFile()
           
 void init(VisitorEnvironment ve)
           
 LogFileInfo nextFile()
           
 java.lang.String nextLine()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DATE

public static final java.lang.String DATE
See Also:
Constant Field Values

NUMBER

public static final java.lang.String NUMBER
See Also:
Constant Field Values
Constructor Detail

BasicLogFileIterator

public BasicLogFileIterator()
Method Detail

init

public void init(VisitorEnvironment ve)
          throws java.io.IOException,
                 org.jdom.JDOMException,
                 WeblogException
Specified by:
init in interface LogFileIterator
Throws:
java.io.IOException
org.jdom.JDOMException
WeblogException

getFiles

public java.util.Map getFiles()

addLogFile

public void addLogFile(java.io.File f)
                throws WeblogException
Throws:
WeblogException

addLogFile

public void addLogFile(java.lang.String file)
                throws WeblogException
Throws:
WeblogException

addLogFilesInDirectory

public void addLogFilesInDirectory(java.io.File d)
                            throws WeblogException
Throws:
WeblogException

addLogFile

public void addLogFile(java.net.URL url)

nextLine

public java.lang.String nextLine()
                          throws java.io.IOException,
                                 WeblogException
Specified by:
nextLine in interface LogFileIterator
Throws:
java.io.IOException
WeblogException

closeCurrentFile

public void closeCurrentFile()
                      throws java.io.IOException
Specified by:
closeCurrentFile in interface LogFileIterator
Throws:
java.io.IOException

hasNextFile

public boolean hasNextFile()
Specified by:
hasNextFile in interface LogFileIterator

nextFile

public LogFileInfo nextFile()
                     throws WeblogException,
                            java.io.IOException
Specified by:
nextFile in interface LogFileIterator
Throws:
WeblogException
java.io.IOException


  Copyright © 2007 Gary Bentley. All Rights Reserved.