org.polliwog.utils
Class BasicLogFileIterator
java.lang.Object
org.polliwog.utils.BasicLogFileIterator
- All Implemented Interfaces:
- LogFileIterator
public class BasicLogFileIterator
- extends java.lang.Object
- implements LogFileIterator
Field Summary |
static java.lang.String |
DATE
|
static java.lang.String |
NUMBER
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
BasicLogFileIterator
public BasicLogFileIterator()
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.