Package org.drools.verifier.report.html
Class HTMLReportWriter
- java.lang.Object
-
- org.drools.verifier.report.html.HTMLReportWriter
-
- All Implemented Interfaces:
VerifierReportWriter
public class HTMLReportWriter extends Object implements VerifierReportWriter
-
-
Field Summary
Fields Modifier and Type Field Description protected ZipOutputStreamzout
-
Constructor Summary
Constructors Constructor Description HTMLReportWriter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcopyFile(String destination, String filename)protected StringformPage(String sourceFolder, String content)voidwriteReport(OutputStream out, VerifierReport result)protected voidwriteToFile(String fileName, String text)
-
-
-
Field Detail
-
zout
protected ZipOutputStream zout
-
-
Method Detail
-
writeReport
public void writeReport(OutputStream out, VerifierReport result) throws IOException
- Specified by:
writeReportin interfaceVerifierReportWriter- Throws:
IOException
-
copyFile
public void copyFile(String destination, String filename) throws IOException
- Throws:
IOException
-
writeToFile
protected void writeToFile(String fileName, String text) throws IOException
- Throws:
IOException
-
-