Invoked for a directory after entries in the directory, and all of their
descendants, have been visited. This method is also invoked when iteration
of the directory completes prematurely (by a visitFile
method returning SKIP_SIBLINGS
,
or an I/O error when iterating over the directory).
dir
| a reference to the directory | |
exc
| null if the iteration of the directory completes without
an error; otherwise the I/O exception that caused the iteration
of the directory to complete prematurely |
IOException
| if an I/O error occurs |
Diagram: Visitor