Package com.inet.viewer
Class ExportProgress
java.lang.Object
com.inet.viewer.Progress
com.inet.viewer.ExportProgress
- All Implemented Interfaces:
Runnable
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:
-
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
ConstructorDescriptionExportProgress
(ReportView parent, RenderData data, Properties exportProps) Creates a new export progress and set it to indeterminate. -
Method Summary
Modifier and TypeMethodDescriptionvoid
cancel()
Stops this export progress and stops the rendering process (export) for this report.Get the generated file names on the export.final 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 Details
-
ExportProgress
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:
-
-
Method Details
-
getName
The name of the daemon thread. -
cancel
public void cancel()Stops this export progress and stops the rendering process (export) for this report. -
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
Get the generated file names on the export.- Returns:
- the file names after the run, else null
- Since:
- 12.0
-