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 java.lang.Object implements VerifierReportWriter
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.zip.ZipOutputStreamzout
-
Constructor Summary
Constructors Constructor Description HTMLReportWriter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcopyFile(java.lang.String destination, java.lang.String filename)protected java.lang.StringformPage(java.lang.String sourceFolder, java.lang.String content)voidwriteReport(java.io.OutputStream out, VerifierReport result)protected voidwriteToFile(java.lang.String fileName, java.lang.String text)
-
-
-
Method Detail
-
writeReport
public void writeReport(java.io.OutputStream out, VerifierReport result) throws java.io.IOException- Specified by:
writeReportin interfaceVerifierReportWriter- Throws:
java.io.IOException
-
formPage
protected java.lang.String formPage(java.lang.String sourceFolder, java.lang.String content)
-
copyFile
public void copyFile(java.lang.String destination, java.lang.String filename) throws java.io.IOException- Throws:
java.io.IOException
-
writeToFile
protected void writeToFile(java.lang.String fileName, java.lang.String text) throws java.io.IOException- Throws:
java.io.IOException
-
-