Class FileReportLoader
java.lang.Object
org.mapfish.print.servlet.job.loader.FileReportLoader
- All Implemented Interfaces:
ReportLoader
Loads reports from file uris.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Returns true if this loader can process the provided URI.final void
loadReport
(URI reportURI, OutputStream out) Reads a report from the URI and writes it to the output stream.
-
Constructor Details
-
FileReportLoader
public FileReportLoader()
-
-
Method Details
-
accepts
Description copied from interface:ReportLoader
Returns true if this loader can process the provided URI.- Specified by:
accepts
in interfaceReportLoader
- Parameters:
reportURI
- the uri to test.
-
loadReport
Description copied from interface:ReportLoader
Reads a report from the URI and writes it to the output stream.- Specified by:
loadReport
in interfaceReportLoader
- Parameters:
reportURI
- uri of the report.out
- output stream to write to.- Throws:
IOException
-