echopoint.tucana.event
Class InvalidContentTypeEvent
java.lang.Object
java.util.EventObject
echopoint.tucana.event.UploadEvent
echopoint.tucana.event.InvalidContentTypeEvent
- All Implemented Interfaces:
- Serializable
public class InvalidContentTypeEvent
- extends UploadEvent
An upload event that represents the case where an upload was terminated
by the server due to the uploaded content-type not being allowed by the
service.
Note: Development of this component was sponsored by TCN
Broadcasting. We are grateful for their support and sponsorship.
- Version:
- $Id: InvalidContentTypeEvent.java 102 2008-11-17 20:10:05Z sptrakesh $
- Author:
- Rakesh 2008-11-17
- See Also:
- Serialized Form
InvalidContentTypeEvent
public InvalidContentTypeEvent(FileUploadSelector source,
String index,
String fileName,
String contentType)
- Creates a new
UploadEvent.
- 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 file