Class ExportProgress

  • All Implemented Interfaces:
    java.lang.Runnable

    public class ExportProgress
    extends Progress
    Progress class for the export. This class sends the export request to the Engine, receives the chunks and saves it into one or more files. Also, it displays the status of the export in the progress and status bar.
    See Also:
    Progress
    • Constructor Detail

      • ExportProgress

        public ExportProgress​(ReportView parent,
                              RenderData data,
                              java.util.Properties exportProps)
        Creates a new export progress and set it to indeterminate. This method use the default value for all not specified properties. For a list of properties see interface RenderData or the i-net Clear Reports documentation at: https://www.inetsoftware.de/documentation/clear-reports/plugins/clear-reports/documentation/en/report-url-parameters.
        Parameters:
        parent - ReportView, used for showError
        data - RenderData for the report that will be exported
        exportProps - Properties specified in the export dialog or with API
        See Also:
        ReportView.export(int, String), ReportView.export(Properties), ReportView.export()
    • Method Detail

      • getName

        public final java.lang.String getName()
        The name of the daemon thread.
        Specified by:
        getName in class Progress
        Returns:
        the name of the daemon thread.
      • cancel

        public void cancel()
        Stops this export progress and stops the rendering process (export) for this report.
        Specified by:
        cancel in class Progress
        See Also:
        Progress.cancel()
      • run

        public void run()
        FOR INTERNAL USE ONLY Fragt ExportChunkCount und alle Chunks vom Server ab und speichert diese entsprechend dem Format und den gemachten Einstellungen in einer oder mehreren Dateien ab.
      • getFileNames

        public java.util.ArrayList<java.lang.String> getFileNames()
        Get the generated file names on the export.
        Returns:
        the file names after the run, else null
        Since:
        12.0