Package eu.bandm.tools.util
Class FileTree.Visitor
java.lang.Object
eu.bandm.tools.util.FileVisitor
eu.bandm.tools.util.FileTree.Visitor
- Enclosing class:
- FileTree
-
Field Summary
Modifier and TypeFieldDescription(package private) DefaultMutableTreeNode
(package private) DefaultMutableTreeNode
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription(package private) DefaultMutableTreeNode
void
Central entry method.Methods inherited from class eu.bandm.tools.util.FileVisitor
visitDir_post, visitDir_pre, visitNonDir
-
Field Details
-
top
-
currentNode
DefaultMutableTreeNode currentNode
-
-
Constructor Details
-
Visitor
protected Visitor()
-
-
Method Details
-
process
-
visit
Description copied from class:FileVisitor
Central entry method.
Is called for applying the visitor. Normally will not be overwritten. Calls directlyFileVisitor.visitNonDir(File)
orFileVisitor.visitDir(File)
, depending on the type of the file.- Overrides:
visit
in classFileVisitor
- Parameters:
f
- position in the file system from which visiting shall descend.
-