Class FileUploadProgressListener

java.lang.Object
org.apache.ofbiz.webapp.event.FileUploadProgressListener
All Implemented Interfaces:
Serializable, org.apache.commons.fileupload.ProgressListener

public class FileUploadProgressListener extends Object implements org.apache.commons.fileupload.ProgressListener, Serializable
FileUploadProgressListener - Commons FileUpload progress listener
See Also:
  • Constructor Details

    • FileUploadProgressListener

      public FileUploadProgressListener()
  • Method Details

    • update

      public void update(long bytesRead, long contentLength, int items)
      Specified by:
      update in interface org.apache.commons.fileupload.ProgressListener
    • getContentLength

      public long getContentLength()
      Gets content length.
      Returns:
      the content length
    • getBytesRead

      public long getBytesRead()
      Gets bytes read.
      Returns:
      the bytes read
    • getItems

      public int getItems()
      Gets items.
      Returns:
      the items
    • hasStarted

      public boolean hasStarted()
      Has started boolean.
      Returns:
      the boolean