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 booleanReturns true if this loader can process the provided URI.final voidloadReport(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:ReportLoaderReturns true if this loader can process the provided URI.- Specified by:
acceptsin interfaceReportLoader- Parameters:
reportURI- the uri to test.
-
loadReport
Description copied from interface:ReportLoaderReads a report from the URI and writes it to the output stream.- Specified by:
loadReportin interfaceReportLoader- Parameters:
reportURI- uri of the report.out- output stream to write to.- Throws:
IOException
-