Class FSTree.Visitor<E>

  • Type Parameters:
    E - The type of the values attached to the files.
    Enclosing class:
    FSTree<V>

    public static class FSTree.Visitor<E>
    extends java.lang.Object
    A simple visitor to process FSTree instances.
    • Constructor Detail

      • Visitor

        public Visitor()
    • Method Detail

      • visitDirectory

        protected void visitDirectory​(FSTree<E> pDirectory)
        Visits the given directory.
        Parameters:
        pDirectory - The directory to visit.
      • visitFile

        protected void visitFile​(FSTree<E> pFile)
        Visits the given file.
        Parameters:
        pFile - The tree containing the file to visit.
      • visitFile

        protected void visitFile​(VCSFile pFile)
        Visits the given file.
        Parameters:
        pFile - The file to visit.