Humboldt Alignment Editor 2.5.0

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

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

public class ReportWriter
extends Object

Writes reports to a file.

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

Method Summary
static boolean write(File file, boolean append, Report<?>... reports)
          Writes all Reports to a File.
static boolean write(File file, Collection<Report<?>> reports, boolean append)
          Writes all Reports to a File.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

write

public static boolean write(File file,
                            boolean append,
                            Report<?>... reports)
                     throws IOException
Writes all Reports to a File.

Parameters:
file - target file
reports - reports to be saved
append - if the reports should be appended to the file instead of overwriting it
Returns:
true on success
Throws:
IOException - if IO fails

write

public static boolean write(File file,
                            Collection<Report<?>> reports,
                            boolean append)
                     throws IOException
Writes all Reports to a File.

Parameters:
file - target file
reports - reports to be saved
append - if the reports should be appended to the file instead of overwriting it
Returns:
true on success
Throws:
IOException - if IO fails

Humboldt Alignment Editor 2.5.0

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