Package eu.bandm.tools.util.files
Class FileTree.Visitor
java.lang.Object
eu.bandm.tools.util.files.FileVisitor
eu.bandm.tools.util.files.FileTree.Visitor
- Enclosing class:
FileTree
Translates all visited files into a Swing tree node and
collects them into the node of the containing directory.
-
Field Summary
Fields inherited from class eu.bandm.tools.util.files.FileVisitor
errorHandler -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class eu.bandm.tools.util.files.FileVisitor
visitDir_post, visitDir_pre, visitNonDir
-
Constructor Details
-
Visitor
public Visitor()Only constructor
-
-
Method Details
-
visit
Worker methode, overridden here and called by the superclass. Central entry method.
Is called for applying the visitor. Normally it will not be overwritten. Calls directlyFileVisitor.visitNonDir(File)orFileVisitor.visitDir(File), depending on the type of the file.- Overrides:
visitin classFileVisitor- Parameters:
f- position in the file system from which visiting shall descend.
-