owltools.gaf.rules
Class AnnotationRulesReportWriter

java.lang.Object
  extended by owltools.gaf.rules.AnnotationRulesReportWriter
All Implemented Interfaces:
Closeable

public class AnnotationRulesReportWriter
extends Object
implements Closeable

Write reports for the results of annotations validation and prediction.


Field Summary
protected  PrintWriter experimentalPredictionReportWriter
           
protected  PrintStream experimentalPredictionWriter
           
protected  PrintWriter predictionReportWriter
           
protected  PrintStream predictionWriter
           
protected  PrintWriter summaryWriter
           
protected  PrintWriter writer
           
 
Constructor Summary
  AnnotationRulesReportWriter(File reportFile, File summaryFile, File predictionFile, File predictionReportFile, File experimentalPredictionFile, File experimentalPredictionReportFile)
           
protected AnnotationRulesReportWriter(PrintWriter writer, PrintWriter summaryWriter, PrintStream predictionWriter, PrintWriter predictionReportWriter, PrintStream experimentalPredictionWriter, PrintWriter experimentalPredictionReportWriter)
           
  AnnotationRulesReportWriter(String reportFile, String summaryFile, String predictionFile, String predictionReportFile, String experimentalPredictionFile, String experimentalPredictionReportFile)
           
 
Method Summary
 void close()
           
 void renderEngineResult(AnnotationRulesEngine.AnnotationRulesEngineResult result, AnnotationRulesEngine engine)
          A print-out of the results, summaries, and preditions.
static void renderViolations(AnnotationRulesEngine.AnnotationRulesEngineResult result, AnnotationRulesEngine engine, PrintWriter writer)
          A simple tab delimited print-out of the validation results.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

writer

protected PrintWriter writer

summaryWriter

protected PrintWriter summaryWriter

predictionWriter

protected PrintStream predictionWriter

predictionReportWriter

protected PrintWriter predictionReportWriter

experimentalPredictionWriter

protected PrintStream experimentalPredictionWriter

experimentalPredictionReportWriter

protected PrintWriter experimentalPredictionReportWriter
Constructor Detail

AnnotationRulesReportWriter

public AnnotationRulesReportWriter(String reportFile,
                                   String summaryFile,
                                   String predictionFile,
                                   String predictionReportFile,
                                   String experimentalPredictionFile,
                                   String experimentalPredictionReportFile)
                            throws IOException
Throws:
IOException

AnnotationRulesReportWriter

public AnnotationRulesReportWriter(File reportFile,
                                   File summaryFile,
                                   File predictionFile,
                                   File predictionReportFile,
                                   File experimentalPredictionFile,
                                   File experimentalPredictionReportFile)
                            throws IOException
Throws:
IOException

AnnotationRulesReportWriter

protected AnnotationRulesReportWriter(PrintWriter writer,
                                      PrintWriter summaryWriter,
                                      PrintStream predictionWriter,
                                      PrintWriter predictionReportWriter,
                                      PrintStream experimentalPredictionWriter,
                                      PrintWriter experimentalPredictionReportWriter)
Method Detail

renderViolations

public static void renderViolations(AnnotationRulesEngine.AnnotationRulesEngineResult result,
                                    AnnotationRulesEngine engine,
                                    PrintWriter writer)
A simple tab delimited print-out of the validation results.

Parameters:
result -
engine -
writer -

renderEngineResult

public void renderEngineResult(AnnotationRulesEngine.AnnotationRulesEngineResult result,
                               AnnotationRulesEngine engine)
A print-out of the results, summaries, and preditions.

Parameters:
result -
engine -

close

public void close()
           throws IOException
Specified by:
close in interface Closeable
Throws:
IOException


Copyright © 2010-2014. All Rights Reserved.