echopoint.tucana.event
Class UploadProgressEvent
java.lang.Object
java.util.EventObject
echopoint.tucana.event.UploadEvent
echopoint.tucana.event.UploadProgressEvent
- All Implemented Interfaces:
- Serializable
public class UploadProgressEvent
- extends UploadEvent
An event indicating that a file upload has progressed.
Note: Development of this component was sponsored by TCN
Broadcasting. We are grateful for their support and sponsorship.
- Version:
- $Id: UploadProgressEvent.java 90 2008-11-11 01:41:05Z sptrakesh $
- Author:
- Rakesh Vidyadharan 2008-11-4
- See Also:
- Serialized Form
UploadProgressEvent
public UploadProgressEvent(FileUploadSelector source,
String index,
UploadProgress progress)
- Short form of the constructor that populates only the mandatory fields.
- Parameters:
source - the source of the eventindex - the index of the uploadprogress - The progress of the file upload.
UploadProgressEvent
public UploadProgressEvent(FileUploadSelector source,
String index,
String fileName,
String contentType,
UploadProgress progress)
- Creates a new
UploadEvent. This is the designated constructor.
- Parameters:
source - the source of the eventindex - the index of the uploadfileName - the name of the file, may not contain path informationcontentType - the content type of the uploaded fileprogress - The progress of the file upload.
getProgress
public UploadProgress getProgress()
- Returns the progress of the file upload.
- Returns:
- the progress of the file upload.