Interface ProgressListener
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Receives progress information. May be used to display a progress bar.
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
update
(long bytesRead, long contentLength, int items) Updates the listeners status information.
-
Field Details
-
NOP
Nop implementation.
-
-
Method Details
-
update
Updates the listeners status information.- Parameters:
bytesRead
- The total number of bytes, which have been read so far.contentLength
- The total number of bytes, which are being read. May be -1, if this number is unknown.items
- The number of the field, which is currently being read. (0 = no item so far, 1 = first item is being read, ...)
-