|
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(java.lang.String id,
java.io.File tempFile,
java.lang.String fileName,
int streamLength)
Construct an AjaxUploadProgress. |
Method Summary | |
---|---|
java.lang.String |
contentType()
|
void |
dispose()
Deletes the temporary file. |
java.lang.String |
fileName()
Returns the name of the file the client uploaded. |
void |
setContentType(java.lang.String type)
|
java.io.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(java.lang.String id, java.io.File tempFile, java.lang.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 streamMethod Detail |
---|
public java.lang.String fileName()
public java.io.File tempFile()
public java.lang.String contentType()
public void setContentType(java.lang.String type)
public void dispose()
dispose
in class AjaxProgress
|
Last updated: Tue, Feb 21, 2017 05:45 PM CET | |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |