public class ProgressListenerResourcePusher extends java.lang.Object implements org.icefaces.apache.commons.fileupload.ProgressListener, PushResourceSetup
| Modifier and Type | Method and Description |
|---|---|
void |
setPushResourcePathAndGroupName(javax.faces.context.FacesContext facesContext,
java.lang.String pushResourceName,
java.lang.String pushGroupName) |
protected boolean |
tryPush(long percent,
boolean force) |
void |
update(long read,
long total,
int chunkIndex)
Updates the listeners status information.
|
public void update(long read,
long total,
int chunkIndex)
org.icefaces.apache.commons.fileupload.ProgressListenerupdate in interface org.icefaces.apache.commons.fileupload.ProgressListenerread - The total number of bytes, which have been read
so far.total - The total number of bytes, which are being
read. May be -1, if this number is unknown.chunkIndex - The number of the field, which is currently being
read. (0 = no item so far, 1 = first item is being read, ...)protected boolean tryPush(long percent,
boolean force)
public void setPushResourcePathAndGroupName(javax.faces.context.FacesContext facesContext,
java.lang.String pushResourceName,
java.lang.String pushGroupName)
setPushResourcePathAndGroupName in interface PushResourceSetupCopyright 2014 ICEsoft Technologies Canada Corp., All Rights Reserved.