Class 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 Detail

      • module

        public static final java.lang.String module
      • contentLength

        protected long contentLength
      • bytesRead

        protected long bytesRead
      • items

        protected int items
      • hasStarted

        protected boolean hasStarted
    • Constructor Detail

      • FileUploadProgressListener

        public FileUploadProgressListener()
    • Method Detail

      • update

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

        public long getContentLength()
      • getBytesRead

        public long getBytesRead()
      • getItems

        public int getItems()
      • hasStarted

        public boolean hasStarted()