public interface ProgressListener
Modifier and Type | Method and Description |
---|---|
void |
reportReadProgress(int bytesRead)
This method reports the progress file reading
|
void |
reportWriteProgress(int bytesWritten)
This method reports the progress file writing
|
void |
setReadExpectedBytes(int bytes)
Sets the number of expected bytes to be read
|
void |
setWriteExpectedBytes(int bytes)
Sets the number of expected bytes to be writen
|
void setReadExpectedBytes(int bytes)
bytes
- Number of bytesvoid setWriteExpectedBytes(int bytes)
bytes
- Number of bytesvoid reportReadProgress(int bytesRead)
bytesRead
- Number of bytes that have been writtenvoid reportWriteProgress(int bytesWritten)
bytesWritten
- Number of bytes that have been writtenCopyright © 2023. All rights reserved.