de.uka.ipd.sdq.ByCounter.reporting
Class PdfReport
java.lang.Object
de.uka.ipd.sdq.ByCounter.reporting.PdfReport
- All Implemented Interfaces:
- ICountingResultWriter
public class PdfReport
- extends java.lang.Object
- implements ICountingResultWriter
ICountingResultWriter
that writes reports in the pdf format.
Nested Class Summary |
static class |
PdfReport.Configuration
Configuration options for the generation of a Pdf report. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
configuration
public PdfReport.Configuration configuration
PdfReport
public PdfReport()
generatePdf
public void generatePdf(CountingResult[] cResults,
MethodExecutionRecord methodExecution)
throws com.lowagie.text.DocumentException
- Throws:
com.lowagie.text.DocumentException
writeResultToFile
public long writeResultToFile(CountingResult cr,
boolean usePrevTimestamp,
long prevTimestampToUse)
- Specified by:
writeResultToFile
in interface ICountingResultWriter
- Parameters:
cr
- CountingResult to writeusePrevTimestamp
- TODO explain
- Returns:
- timestamp that is part of the file name
(if usePrevTimestamp==false,
the returned timestamp is internally generated by this method)
getLastWrittenFile
public java.io.File getLastWrittenFile()