|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.io.Writer
uk.ac.ebi.microarray.zooma.reports.ReportWriter
uk.ac.ebi.microarray.zooma.reports.TextReportWriter
public class TextReportWriter
A ReportWriter implementation that
writes a simple tab delimited text report based around a simple format.
TextReportingMappers use this
writer to actually generate the report.
TextReportingMapper| Field Summary |
|---|
| Fields inherited from class java.io.Writer |
|---|
lock |
| Constructor Summary | |
|---|---|
TextReportWriter(java.io.File file)
Creates a ReportWriter that buffers written lines, sorting them alphabetically. |
|
| Method Summary | |
|---|---|
void |
write(OntologyMappingOutcome outcome)
|
protected void |
writeReportHeader(java.io.PrintWriter writer)
Writes the header of the report into the supplied print writer. |
| Methods inherited from class uk.ac.ebi.microarray.zooma.reports.ReportWriter |
|---|
close, endReport, extractOntologyTermFromURI, fetchOntologyName, flush, getLog, lookupVersionFromMavenProperties, startReport, write, writeReportFooter |
| Methods inherited from class java.io.Writer |
|---|
append, append, append, write, write, write, write |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TextReportWriter(java.io.File file)
file - the file to write the report to| Method Detail |
|---|
protected void writeReportHeader(java.io.PrintWriter writer)
ReportWritersuper.writeReportHeader() first followed by
writer.println(<my line here>);
writeReportHeader in class ReportWriterwriter - the writer to write the header data to
public void write(OntologyMappingOutcome outcome)
throws java.io.IOException
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||