Interface ReportLoader

All Known Implementing Classes:
FileReportLoader, HibernateReportLoader

public interface ReportLoader
Load a generated report from a supported URI.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    accepts(URI reportURI)
    Returns true if this loader can process the provided URI.
    void
    loadReport(URI reportURI, OutputStream out)
    Reads a report from the URI and writes it to the output stream.
  • Method Details

    • accepts

      boolean accepts(URI reportURI)
      Returns true if this loader can process the provided URI.
      Parameters:
      reportURI - the uri to test.
    • loadReport

      void loadReport(URI reportURI, OutputStream out) throws 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:
      IOException