|
Project Wonder 5.0 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objecter.ajax.AjaxProgress
er.ajax.AjaxUploadProgress
public class AjaxUploadProgress
AjaxUploadProgress is an AjaxProgress extended for tracking an Ajax File Upload.
| Nested Class Summary | |
|---|---|
static interface |
AjaxUploadProgress.Delegate
|
| Constructor Summary | |
|---|---|
AjaxUploadProgress(String id,
File tempFile,
String fileName,
int streamLength)
Construct an AjaxUploadProgress. |
|
| Method Summary | |
|---|---|
String |
contentType()
|
void |
dispose()
Deletes the temporary file. |
String |
fileName()
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. |
| Methods inherited from class er.ajax.AjaxProgress |
|---|
cancel, completionEventsFired, copyAndTrack, failure, id, incrementValue, isCanceled, isDone, isFailed, isStarted, isSucceeded, maximum, percentage, progress, registerProgress, reset, setCompletionEventsFired, setDone, setFailure, setMaximum, setStatus, setValue, shouldReset, status, unregisterProgress, value |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AjaxUploadProgress(String id,
File tempFile,
String fileName,
int streamLength)
id - the id of this uploadtempFile - the File that is being written tofileName - the name of the file uploaded from the clientstreamLength - the total length of the stream| Method Detail |
|---|
public String fileName()
public File tempFile()
public String contentType()
public void setContentType(String type)
public void dispose()
dispose in class AjaxProgress
|
Last updated: Wed, Feb 22, 2012 07:00 AM EST | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||