public class FileReportLoader extends java.lang.Object implements ReportLoader
| Constructor and Description |
|---|
FileReportLoader() |
| Modifier and Type | Method and 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.
|
public final boolean accepts(java.net.URI reportURI)
ReportLoaderaccepts in interface ReportLoaderreportURI - the uri to test.public final void loadReport(java.net.URI reportURI,
java.io.OutputStream out)
throws java.io.IOException
ReportLoaderloadReport in interface ReportLoaderreportURI - uri of the report.out - output stream to write to.java.io.IOException