eu.esdihumboldt.hale.common.core.report.writer
Class ReportReader
java.lang.Object
eu.esdihumboldt.hale.common.core.report.writer.ReportReader
public class ReportReader
- extends Object
This is the ReportReader which extracts Report
s and their
Message
s from a previous saved file.
- Author:
- Andreas Burchert
- Partner:
- 01 / Fraunhofer Institute for Computer Graphics Research
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReportReader
public ReportReader()
readDirectory
public List<ReportSession> readDirectory(File dir)
- Extracts all
ReportSession
s from a given directory.
- Parameters:
dir
- directory containing all log files
- Returns:
- array of old
ReportSession
s
readFile
public ReportSession readFile(File file)
- Creates a
ReportSession
from a report log file.
- Parameters:
file
- the file to parse
- Returns:
ReportSession
from the file
Build 2012-12-03_12-30-59
Revision 9d2dd4b0318cda9f1393b1ddd390f7f792d70a2d