Package com.jalios.jcms.upload
Class ProgressMonitorStatus
- java.lang.Object
-
- com.jalios.jcms.upload.ProgressMonitorStatus
-
public class ProgressMonitorStatus extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ProgressMonitorStatus(long contentLength)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProgressObserver
addObserver(java.lang.String fieldName, java.lang.String fileName)
protected com.jalios.jcms.upload.ProgressMonitorStatus.ProgressMonitorObserver
findObserver(java.lang.String fieldName, java.lang.String fileName)
Retrive the observer matching given criteria.java.util.Map<java.lang.String,java.lang.String>
getStatus()
java.util.Map<java.lang.String,java.lang.String>
getStatus(java.lang.String fieldName)
java.util.Map<java.lang.String,java.lang.String>
getStatus(java.lang.String fieldName, java.lang.String fileName)
void
setError(java.lang.String message)
-
-
-
Method Detail
-
addObserver
public ProgressObserver addObserver(java.lang.String fieldName, java.lang.String fileName)
-
getStatus
public java.util.Map<java.lang.String,java.lang.String> getStatus()
-
getStatus
public java.util.Map<java.lang.String,java.lang.String> getStatus(java.lang.String fieldName)
-
getStatus
public java.util.Map<java.lang.String,java.lang.String> getStatus(java.lang.String fieldName, java.lang.String fileName)
-
setError
public void setError(java.lang.String message)
-
findObserver
protected com.jalios.jcms.upload.ProgressMonitorStatus.ProgressMonitorObserver findObserver(java.lang.String fieldName, java.lang.String fileName)
Retrive the observer matching given criteria. Criteria can be null- Parameters:
fieldName
-fileName
-- Returns:
- ProgressMonitorObserver
-
-