api / org.gradle.api.file / EmptyFileVisitor

EmptyFileVisitor

open class EmptyFileVisitor : FileVisitor

The EmptyFileVisitor can be extends by implementations that only require to implement one of the 2 visit methods (dir or file). This is just to limit the amount of code clutter when not both visit methods need to be implemented.

Constructors

<init>

EmptyFileVisitor()

The EmptyFileVisitor can be extends by implementations that only require to implement one of the 2 visit methods (dir or file). This is just to limit the amount of code clutter when not both visit methods need to be implemented.

Functions

visitDir

open fun visitDir(dirDetails: FileVisitDetails): Unit

visitFile

open fun visitFile(fileDetails: FileVisitDetails): Unit