Package org.apache.ofbiz.webapp.event
Class FileUploadProgressListener
- java.lang.Object
-
- org.apache.ofbiz.webapp.event.FileUploadProgressListener
-
- All Implemented Interfaces:
java.io.Serializable
,org.apache.commons.fileupload.ProgressListener
public class FileUploadProgressListener extends java.lang.Object implements org.apache.commons.fileupload.ProgressListener, java.io.Serializable
FileUploadProgressListener - Commons FileUpload progress listener- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected long
bytesRead
protected long
contentLength
protected boolean
hasStarted
protected int
items
static java.lang.String
module
-
Constructor Summary
Constructors Constructor Description FileUploadProgressListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getBytesRead()
long
getContentLength()
int
getItems()
boolean
hasStarted()
void
update(long bytesRead, long contentLength, int items)
-
-
-
Method Detail
-
update
public void update(long bytesRead, long contentLength, int items)
- Specified by:
update
in interfaceorg.apache.commons.fileupload.ProgressListener
-
getContentLength
public long getContentLength()
-
getBytesRead
public long getBytesRead()
-
getItems
public int getItems()
-
hasStarted
public boolean hasStarted()
-
-