Class ExportProgress

java.lang.Object
com.inet.viewer.Progress
com.inet.viewer.ExportProgress
All Implemented Interfaces:
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:
  • Constructor Details

    • ExportProgress

      public ExportProgress(ReportView parent, RenderData data, 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:
  • Method Details

    • getName

      public final 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:
    • 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 ArrayList<String> getFileNames()
      Get the generated file names on the export.
      Returns:
      the file names after the run, else null
      Since:
      12.0