ceylon.file
Class Visitor

A file visitor.

Attributes
Modifier and TypeName and Description
shared default Booleanterminated

Evaluates to true to indicate that no more files or directories should be visited.

Show inherited attributes
Attributes inherited from class: IdentifiableObject
hash
Attributes inherited from class: Object
string
Constructor
Visitor()
Methods
Modifier and TypeMethod and Description
shared default VoidafterDirectory(Directory dir)

Called after visiting files and subdirectories of the given directory.

shared default BooleanbeforeDirectory(Directory dir)

Called before visiting files and subdirectories of the given directory. If this method returns false, the files and subdirecties of the given directory will not be visited.

shared default Voidfile(File file)

Visit a file.

Show inherited methods
Methods inherited from class: IdentifiableObject
equals