Humboldt Alignment Editor 2.5.0

eu.esdihumboldt.hale.common.core.report.writer
Class ReportReader

java.lang.Object
  extended by eu.esdihumboldt.hale.common.core.report.writer.ReportReader

public class ReportReader
extends Object

This is the ReportReader which extracts Reports and their Messages from a previous saved file.

Author:
Andreas Burchert
Partner:
01 / Fraunhofer Institute for Computer Graphics Research

Constructor Summary
ReportReader()
           
 
Method Summary
 List<ReportSession> readDirectory(File dir)
          Extracts all ReportSessions from a given directory.
 ReportSession readFile(File file)
          Creates a ReportSession from a report log file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReportReader

public ReportReader()
Method Detail

readDirectory

public List<ReportSession> readDirectory(File dir)
Extracts all ReportSessions from a given directory.

Parameters:
dir - directory containing all log files
Returns:
array of old ReportSessions

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

Humboldt Alignment Editor 2.5.0

Build 2012-12-03_12-30-59
Revision 9d2dd4b0318cda9f1393b1ddd390f7f792d70a2d