Interface FileUploadListener


  • public interface FileUploadListener
    Listener to react on progress and completion of a file upload.

    Note: This listener will be called from a different thread than the UI thread. Implementations must use Display.asyncExec(Runnable) to access the UI.

    See Also:
    FileUploadEvent
    • Method Detail

      • uploadProgress

        void uploadProgress​(FileUploadEvent event)
        Called when new information about an in-progress upload is available.
        Parameters:
        event - event object that contains information about the uploaded file
        See Also:
        FileUploadEvent.getBytesRead()
      • uploadFinished

        void uploadFinished​(FileUploadEvent event)
        Called when a file upload has finished successfully.
        Parameters:
        event - event object that contains information about the uploaded file
        See Also:
        FileUploadEvent