Interface ReportLoader
-
- All Known Implementing Classes:
FileReportLoader
,HibernateReportLoader
public interface ReportLoader
Load a generated report from a supported URI.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
accepts(java.net.URI reportURI)
Returns true if this loader can process the provided URI.void
loadReport(java.net.URI reportURI, java.io.OutputStream out)
Reads a report from the URI and writes it to the output stream.
-
-
-
Method Detail
-
accepts
boolean accepts(java.net.URI reportURI)
Returns true if this loader can process the provided URI.- Parameters:
reportURI
- the uri to test.
-
loadReport
void loadReport(java.net.URI reportURI, java.io.OutputStream out) throws java.io.IOException
Reads a report from the URI and writes it to the output stream.- Parameters:
reportURI
- uri of the report.out
- output stream to write to.- Throws:
java.io.IOException
-
-