public class FileNodeVisitor extends TreeVisitor.ByComponent<VirtualFile,VirtualFile>
TreeVisitor.Acceptor, TreeVisitor.Action, TreeVisitor.ByComponent<C,T>, TreeVisitor.ByTreePath<T>
Constructor and Description |
---|
FileNodeVisitor(VirtualFile file) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
contains(VirtualFile pathFile,
VirtualFile thisFile) |
protected TreeVisitor.Action |
visit(VirtualFile file) |
matches, visit
public FileNodeVisitor(VirtualFile file)
protected TreeVisitor.Action visit(VirtualFile file)
visit
in class TreeVisitor.ByComponent<VirtualFile,VirtualFile>
file
- a last component of the current pathprotected boolean contains(VirtualFile pathFile, VirtualFile thisFile)
contains
in class TreeVisitor.ByComponent<VirtualFile,VirtualFile>
pathFile
- a last component of the current paththisFile
- a seeking componenttrue
if the first component may contain the second one