AjaxUploadProgress Class Reference

Inherits er::ajax::AjaxProgress.

Collaboration diagram for AjaxUploadProgress:

Collaboration graph
[legend]

List of all members.

Classes

interface  Delegate

Public Member Functions

 AjaxUploadProgress (String id, File tempFile, String fileName, int streamLength)
String contentType ()
void dispose ()
String fileName ()
void setContentType (String type)
File tempFile ()

Private Attributes

String _contentType
String _fileName
File _tempFile


Detailed Description

AjaxUploadProgress is an AjaxProgress extended for tracking an Ajax File Upload.

Author:
mschrag

Constructor & Destructor Documentation

AjaxUploadProgress ( String  id,
File  tempFile,
String  fileName,
int  streamLength 
)

Construct an AjaxUploadProgress.

Parameters:
id the id of this upload
tempFile the File that is being written to
fileName the name of the file uploaded from the client
streamLength the total length of the stream


Member Function Documentation

String contentType (  ) 

void dispose (  ) 

Deletes the temporary file.

Reimplemented from AjaxProgress.

String fileName (  ) 

Returns the name of the file the client uploaded.

Returns:
the name of the file the client uploaded

void setContentType ( String  type  ) 

File tempFile (  ) 

Returns the File object that was written to during the upload.

Returns:
the File object that was written to during the upload


Member Data Documentation

String _contentType [private]

String _fileName [private]

File _tempFile [private]


The documentation for this class was generated from the following file:

Generated on Sat May 26 06:42:40 2012 for Project Wonder by  doxygen 1.5.8