Liking cljdoc? Tell your friends :D

jdk.nio.file.SimpleFileVisitor

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.
raw docstring

post-visit-directoryclj

(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
raw docstring

pre-visit-directoryclj

(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
raw docstring

visit-fileclj

(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
raw docstring

visit-file-failedclj

(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
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close