Class FileTree.Visitor

java.lang.Object
eu.bandm.tools.util.files.FileVisitor
eu.bandm.tools.util.files.FileTree.Visitor
Enclosing class:
FileTree

protected static class FileTree.Visitor extends FileVisitor
Translates all visited files into a Swing tree node and collects them into the node of the containing directory.
  • Field Details

  • Constructor Details

    • Visitor

      protected Visitor()
  • Method Details

    • process

      Service Access Point: Visit the given file and all its descendants, and return the corresponding swing tree node.
    • visit

      public void visit(File f)
      Worker methode, overridden here and called by the superclass.
      Overrides:
      visit in class FileVisitor
      Parameters:
      f - position in the file system from which visiting shall descend.