public abstract FileVisitResult postVisitDirectory (T dir, IOException exc) throws IOException

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).

Parameters:
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

Returns:  the visit result

Exceptions:
IOException     if an I/O error occurs