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
-
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.files.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.
-