01
02
03
04
05
06
07
08
09
10
11
package horstmann.ch10_visitor;
import java.io.File;

public class VisitorTester
{
  public static void main(String[] args)
  {
    DirectoryNode node = new DirectoryNode(new File(".."));
    node.accept(new PrintVisitor());
  }
}