Package com.inet.viewer
Class ExportProgress
- java.lang.Object
-
- com.inet.viewer.Progress
-
- com.inet.viewer.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
-
-
Field Summary
-
Fields inherited from class com.inet.viewer.Progress
PROP_PROGRESS_INDETERMINATE, PROP_PROGRESS_STATUS, PROP_PROGRESS_STEP, PROP_PROGRESS_TOTAL, propertySupporter, STATUS_CANCELED, STATUS_COMPLETED, STATUS_ERROR, STATUS_IDLE, STATUS_INITIALIZED, STATUS_NOT_INITIALIZED, STATUS_RUNNING, TYPE_EXPORT, TYPE_INVISIBLE, TYPE_PAGELOADER, TYPE_PRINT, TYPE_SEARCH
-
-
Constructor Summary
Constructors Constructor Description ExportProgress(ReportView parent, RenderData data, java.util.Properties exportProps)
Creates a new export progress and set it to indeterminate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
cancel()
Stops this export progress and stops the rendering process (export) for this report.java.util.ArrayList<java.lang.String>
getFileNames()
Get the generated file names on the export.java.lang.String
getName()
The name of the daemon thread.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.-
Methods inherited from class com.inet.viewer.Progress
addPropertyChangeListener, cleanUp, getErrorMessage, getProgress, getReportView, getStatus, getTotalProgress, getType, isCanceled, isErrored, isFinished, isIndeterminate, removePropertyChangeListener, setErrorMessage, setIndeterminate, setProgress, setStatus, setTotalProgress, showError, startProgress, waitUntilFinished
-
-
-
-
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 interfaceRenderData
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 showErrordata
- RenderData for the report that will be exportedexportProps
- 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.
-
cancel
public void cancel()
Stops this export progress and stops the rendering process (export) for this report.- Specified by:
cancel
in classProgress
- 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
-
-