Class HibernateReportLoader

java.lang.Object
org.mapfish.print.servlet.job.impl.hibernate.HibernateReportLoader
All Implemented Interfaces:
ReportLoader

public class HibernateReportLoader extends Object implements ReportLoader
Loads reports from hibernate uris.
  • Constructor Details

    • HibernateReportLoader

      public HibernateReportLoader()
  • Method Details

    • accepts

      public final boolean accepts(URI reportURI)
      Description copied from interface: ReportLoader
      Returns true if this loader can process the provided URI.
      Specified by:
      accepts in interface ReportLoader
      Parameters:
      reportURI - the uri to test.
    • loadReport

      @Transactional public void loadReport(URI reportURI, OutputStream out) throws IOException
      Description copied from interface: ReportLoader
      Reads a report from the URI and writes it to the output stream.
      Specified by:
      loadReport in interface ReportLoader
      Parameters:
      reportURI - uri of the report.
      out - output stream to write to.
      Throws:
      IOException