Package org.eclipse.rap.fileupload
Interface FileUploadListener
-
public interface FileUploadListenerListener 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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiduploadFailed(FileUploadEvent event)Called when a file upload failed.voiduploadFinished(FileUploadEvent event)Called when a file upload has finished successfully.voiduploadProgress(FileUploadEvent event)Called when new information about an in-progress upload is available.
-
-
-
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
-
uploadFailed
void uploadFailed(FileUploadEvent event)
Called when a file upload failed.- Parameters:
event- event object that contains information about the uploaded file- See Also:
FileUploadEvent.getException()
-
-