public static interface Worker.ProgressListener
Modifier and Type | Method and Description |
---|---|
void |
done()
Called when all files have finished processing.
|
void |
error(java.nio.file.Path file,
java.lang.String error)
Called when some error occurred.
|
void |
progress(int done)
Called when a file has finished processing.
|
void progress(int done)
done
- The total number of files that have finished processing.void error(java.nio.file.Path file, java.lang.String error)
file
- The file that caused the error.error
- The error message.void done()