public class TRECResult extends Object implements AnalysisResult
AnalysisResult wrapping the output of the
trec_eval tool.| Constructor and Description |
|---|
TRECResult(String trecOutput)
Construct with the given output from trec_eval
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDetailReport()
Get a
String detailing the result. |
net.sf.jasperreports.engine.JasperPrint |
getDetailReport(String title,
String info)
Get a
JasperPrint detailing the result. |
String |
getSummaryReport()
Get a
String summarising the result. |
net.sf.jasperreports.engine.JasperPrint |
getSummaryReport(String title,
String info)
Get a
JasperPrint summarising the result. |
String |
toString() |
public TRECResult(String trecOutput)
trecOutput - the outputpublic net.sf.jasperreports.engine.JasperPrint getSummaryReport(String title, String info) throws net.sf.jasperreports.engine.JRException
AnalysisResultJasperPrint summarising the result.getSummaryReport in interface AnalysisResulttitle - a title to add to the reportinfo - information to print at the beginning of the reportString summarising the resultnet.sf.jasperreports.engine.JRExceptionpublic net.sf.jasperreports.engine.JasperPrint getDetailReport(String title, String info) throws net.sf.jasperreports.engine.JRException
AnalysisResultJasperPrint detailing the result.getDetailReport in interface AnalysisResulttitle - a title to add to the reportinfo - information to print at the beginning of the reportJasperPrint detailing the result.net.sf.jasperreports.engine.JRExceptionpublic String getSummaryReport()
AnalysisResultString summarising the result.getSummaryReport in interface AnalysisResultString summarising the resultpublic String getDetailReport()
AnalysisResultString detailing the result.getDetailReport in interface AnalysisResultString detailing the result