org.drools.verifier.report.html
Class HTMLReportWriter

java.lang.Object
  extended by org.drools.verifier.report.html.HTMLReportWriter
All Implemented Interfaces:
VerifierReportWriter

public class HTMLReportWriter
extends Object
implements VerifierReportWriter


Field Summary
protected  ZipOutputStream zout
           
 
Constructor Summary
HTMLReportWriter()
           
 
Method Summary
 void copyFile(String destination, String filename)
           
protected  String formPage(String sourceFolder, String content)
           
 void writeReport(OutputStream out, VerifierReport result)
           
protected  void writeToFile(String fileName, String text)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

zout

protected ZipOutputStream zout
Constructor Detail

HTMLReportWriter

public HTMLReportWriter()
Method Detail

writeReport

public void writeReport(OutputStream out,
                        VerifierReport result)
                 throws IOException
Specified by:
writeReport in interface VerifierReportWriter
Throws:
IOException

formPage

protected String formPage(String sourceFolder,
                          String content)

copyFile

public void copyFile(String destination,
                     String filename)
              throws IOException
Throws:
IOException

writeToFile

protected void writeToFile(String fileName,
                           String text)
                    throws IOException
Throws:
IOException


Copyright © 2001-2013 JBoss Inc.. All Rights Reserved.