public interface IOProgressListener
Modifier and Type | Method and Description |
---|---|
void |
ioFinished()
This method is called when a reading or writing of data has been finished.
|
void |
ioProgress(long bytes)
This method is called when a progress in reading or writing data has been made.
|
void |
ioStarts()
This method is called when a reading or writing of data is about to begin.
|
void |
newFile(java.lang.String sourceName,
java.lang.String destName,
long size)
This method is called only if the progress listeners is passed to a method that processes
several files.
|
void ioStarts()
void ioProgress(long bytes)
bytes
- the number of bytes that have been read or written until yet.void newFile(java.lang.String sourceName, java.lang.String destName, long size)
sourceName
- the name of the current source file.destName
- the name of the current destination filesize
- the size in bytes of the current filevoid ioFinished()