Class ReportExportTask

  • All Implemented Interfaces:
    Runnable

    public abstract class ReportExportTask
    extends Object
    implements Runnable
    • Field Detail

      • logger

        protected static final org.apache.commons.logging.Log logger
      • report

        protected org.pentaho.reporting.engine.classic.core.MasterReport report
      • statusListener

        protected org.pentaho.reporting.engine.classic.core.modules.gui.common.StatusListener statusListener
      • createParentFolder

        protected Boolean createParentFolder
      • targetPath

        protected String targetPath
      • targetFile

        protected org.apache.commons.vfs2.FileObject targetFile
    • Constructor Detail

      • ReportExportTask

        public ReportExportTask​(org.pentaho.reporting.engine.classic.core.MasterReport report,
                                org.pentaho.reporting.engine.classic.core.modules.gui.commonswing.SwingGuiContext swingGuiContext,
                                String targetPath,
                                Boolean createParentFolder)
        Creates a new PDF export task.
    • Method Detail

      • run

        public void run()
        When an object implementing interface Runnable is used to create a thread, starting the thread causes the object's run method to be called in that separately executing thread.

        The general contract of the method run is that it may take any action whatsoever.

        Specified by:
        run in interface Runnable
        See Also:
        Thread.run()
      • createReportProcessor

        protected abstract org.pentaho.reporting.engine.classic.core.layout.output.ReportProcessor createReportProcessor​(OutputStream fout)
                                                                                                                  throws Exception
        Throws:
        Exception
      • getSuffix

        protected String getSuffix​(String filename)