org.meshcms.webui
Class UploadProgressListener
java.lang.Object
org.meshcms.webui.UploadProgressListener
- All Implemented Interfaces:
- org.apache.commons.fileupload.ProgressListener
- public class UploadProgressListener
- extends java.lang.Object
- implements org.apache.commons.fileupload.ProgressListener
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UPLOAD_PROGRESS_LISTENER
public static final java.lang.String UPLOAD_PROGRESS_LISTENER
- See Also:
- Constant Field Values
PERCENT_FORMAT
public static java.text.NumberFormat PERCENT_FORMAT
UploadProgressListener
public UploadProgressListener(javax.servlet.http.HttpSession session)
update
public void update(long bytesRead,
long contentLength,
int items)
- Specified by:
update
in interface org.apache.commons.fileupload.ProgressListener
getProgress
public double getProgress()
getPercent
public java.lang.String getPercent()
isCompleted
public boolean isCompleted()