EchoPoint API - 3.0.0b5
App Webcontainer

echopoint.tucana.event
Class InvalidContentTypeEvent

java.lang.Object
  extended by java.util.EventObject
      extended by echopoint.tucana.event.UploadEvent
          extended by 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

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
InvalidContentTypeEvent(FileUploadSelector source, String index, String fileName, String contentType)
          Creates a new UploadEvent.
 
Method Summary
 
Methods inherited from class echopoint.tucana.event.UploadEvent
getContentType, getFileName, getIndex
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InvalidContentTypeEvent

public InvalidContentTypeEvent(FileUploadSelector source,
                               String index,
                               String fileName,
                               String contentType)
Creates a new UploadEvent.

Parameters:
source - the source of the event
index - the index of the upload
fileName - the name of the file, may not contain path information
contentType - the content type of the uploaded file

EchoPoint API - 3.0.0b5
App Webcontainer