A simple visitor of files with default behavior to visit all files and to re-throw I/O errors.
Methods in this class may be overridden subject to their general contract.
A simple visitor of files with default behavior to visit all files and to re-throw I/O errors. Methods in this class may be overridden subject to their general contract.
(post-visit-directory this dir exc)
Invoked for a directory after entries in the directory, and all of their descendants, have been visited.
Unless overridden, this method returns CONTINUE if the directory iteration completes without an I/O exception; otherwise this method re-throws the I/O exception that caused the iteration of the directory to terminate prematurely.
dir - a reference to the directory - T
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 - java.io.IOException
returns: the visit result - java.nio.file.FileVisitResult
throws: java.io.IOException - if an I/O error occurs
Invoked for a directory after entries in the directory, and all of their descendants, have been visited. Unless overridden, this method returns CONTINUE if the directory iteration completes without an I/O exception; otherwise this method re-throws the I/O exception that caused the iteration of the directory to terminate prematurely. dir - a reference to the directory - `T` 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 - `java.io.IOException` returns: the visit result - `java.nio.file.FileVisitResult` throws: java.io.IOException - if an I/O error occurs
(pre-visit-directory this dir attrs)
Invoked for a directory before entries in the directory are visited.
Unless overridden, this method returns CONTINUE.
dir - a reference to the directory - T
attrs - the directory's basic attributes - java.nio.file.attribute.BasicFileAttributes
returns: the visit result - java.nio.file.FileVisitResult
throws: java.io.IOException - if an I/O error occurs
Invoked for a directory before entries in the directory are visited. Unless overridden, this method returns CONTINUE. dir - a reference to the directory - `T` attrs - the directory's basic attributes - `java.nio.file.attribute.BasicFileAttributes` returns: the visit result - `java.nio.file.FileVisitResult` throws: java.io.IOException - if an I/O error occurs
(visit-file this file attrs)
Invoked for a file in a directory.
Unless overridden, this method returns CONTINUE.
file - a reference to the file - T
attrs - the file's basic attributes - java.nio.file.attribute.BasicFileAttributes
returns: the visit result - java.nio.file.FileVisitResult
throws: java.io.IOException - if an I/O error occurs
Invoked for a file in a directory. Unless overridden, this method returns CONTINUE. file - a reference to the file - `T` attrs - the file's basic attributes - `java.nio.file.attribute.BasicFileAttributes` returns: the visit result - `java.nio.file.FileVisitResult` throws: java.io.IOException - if an I/O error occurs
(visit-file-failed this file exc)
Invoked for a file that could not be visited.
Unless overridden, this method re-throws the I/O exception that prevented the file from being visited.
file - a reference to the file - T
exc - the I/O exception that prevented the file from being visited - java.io.IOException
returns: the visit result - java.nio.file.FileVisitResult
throws: java.io.IOException - if an I/O error occurs
Invoked for a file that could not be visited. Unless overridden, this method re-throws the I/O exception that prevented the file from being visited. file - a reference to the file - `T` exc - the I/O exception that prevented the file from being visited - `java.io.IOException` returns: the visit result - `java.nio.file.FileVisitResult` throws: java.io.IOException - if an I/O error occurs
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close