Package adams.data.io.output
Interface StringReportWriter<T extends Report>
-
- All Superinterfaces:
ReportWriter<T>
- All Known Implementing Classes:
AbstractSimpleReportWriter
,DefaultSimpleReportWriter
,ObjectLocationsSpreadSheetWriter
,OpexObjectLocationsWriter
,YoloAnnotationsReportWriter
public interface StringReportWriter<T extends Report> extends ReportWriter<T>
Interface for report writers that can output the report as string.- Author:
- fracpete (fracpete at waikato dot ac dot nz)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
write(T data, MessageCollection errors)
Performs checks and converts the report to a string.-
Methods inherited from interface adams.data.io.output.ReportWriter
getOutput, outputTipText, setOutput, write
-
-
-
-
Method Detail
-
write
String write(T data, MessageCollection errors)
Performs checks and converts the report to a string.- Parameters:
data
- the data to writeerrors
- for collecting errors- Returns:
- the generated data, null in case of failure
-
-