FileVisitorBuilder
Functions
onPostVisitDirectory
Overrides the corresponding function of the built file visitor with the provided function.
abstract fun onPostVisitDirectory(
function: (directory: Path, exception: IOException?) -> FileVisitResult)
onPreVisitDirectory
Overrides the corresponding function of the built file visitor with the provided function.
abstract fun onPreVisitDirectory(
function: (directory: Path, attributes: BasicFileAttributes) -> FileVisitResult)
onVisitFile
Overrides the corresponding function of the built file visitor with the provided function.
abstract fun onVisitFile(
function: (file: Path, attributes: BasicFileAttributes) -> FileVisitResult)
onVisitFileFailed
Overrides the corresponding function of the built file visitor with the provided function.
abstract fun onVisitFileFailed(
function: (file: Path, exception: IOException) -> FileVisitResult)