public class AnnotationRulesReportWriter extends Object implements Closeable
Modifier and Type | Field and Description |
---|---|
protected PrintWriter |
experimentalPredictionReportWriter |
protected PrintStream |
experimentalPredictionWriter |
protected PrintWriter |
predictionReportWriter |
protected PrintStream |
predictionWriter |
protected PrintWriter |
summaryWriter |
protected PrintWriter |
writer |
Modifier | Constructor and Description |
---|---|
|
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) |
Modifier and Type | Method and Description |
---|---|
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.
|
protected PrintWriter writer
protected PrintWriter summaryWriter
protected PrintStream predictionWriter
protected PrintWriter predictionReportWriter
protected PrintStream experimentalPredictionWriter
protected PrintWriter experimentalPredictionReportWriter
public AnnotationRulesReportWriter(String reportFile, String summaryFile, String predictionFile, String predictionReportFile, String experimentalPredictionFile, String experimentalPredictionReportFile) throws IOException
IOException
public AnnotationRulesReportWriter(File reportFile, File summaryFile, File predictionFile, File predictionReportFile, File experimentalPredictionFile, File experimentalPredictionReportFile) throws IOException
IOException
protected AnnotationRulesReportWriter(PrintWriter writer, PrintWriter summaryWriter, PrintStream predictionWriter, PrintWriter predictionReportWriter, PrintStream experimentalPredictionWriter, PrintWriter experimentalPredictionReportWriter)
public static void renderViolations(AnnotationRulesEngine.AnnotationRulesEngineResult result, AnnotationRulesEngine engine, PrintWriter writer)
result
- engine
- writer
- public void renderEngineResult(AnnotationRulesEngine.AnnotationRulesEngineResult result, AnnotationRulesEngine engine)
result
- engine
- public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
Copyright © 2010-2014. All Rights Reserved.