FileVisitorBuilder

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

Since Kotlin

1.7

Functions

Link copied to clipboard
abstract fun onPostVisitDirectory(function: (directory: Path, exception: IOException?) -> FileVisitResult)

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

Since Kotlin 1.7
Link copied to clipboard
abstract fun onPreVisitDirectory(function: (directory: Path, attributes: BasicFileAttributes) -> FileVisitResult)

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

Since Kotlin 1.7
Link copied to clipboard
abstract fun onVisitFile(function: (file: Path, attributes: BasicFileAttributes) -> FileVisitResult)

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

Since Kotlin 1.7
Link copied to clipboard
abstract fun onVisitFileFailed(function: (file: Path, exception: IOException) -> FileVisitResult)

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

Since Kotlin 1.7