FileVisitorBuilder

JVM
JRE7
1.7
@ExperimentalPathApi sealed interface FileVisitorBuilder
(source)

The builder to provide implementation of the file visitor that fileVisitor builds.

Functions

JVM
JRE7
1.0

onPostVisitDirectory

Overrides the corresponding function of the built file visitor with the provided function.

abstract fun onPostVisitDirectory(
    function: (directory: Path, exception: IOException?) -> FileVisitResult)
JVM
JRE7
1.0

onPreVisitDirectory

Overrides the corresponding function of the built file visitor with the provided function.

abstract fun onPreVisitDirectory(
    function: (directory: Path, attributes: BasicFileAttributes) -> FileVisitResult)
JVM
JRE7
1.0

onVisitFile

Overrides the corresponding function of the built file visitor with the provided function.

abstract fun onVisitFile(
    function: (file: Path, attributes: BasicFileAttributes) -> FileVisitResult)
JVM
JRE7
1.0

onVisitFileFailed

Overrides the corresponding function of the built file visitor with the provided function.

abstract fun onVisitFileFailed(
    function: (file: Path, exception: IOException) -> FileVisitResult)