FileFinderDemo.java.html

  1  import java.io.File;
  2  
  3  public class FileFinderDemo
  4  {
  5     public static void main(String[] args)
  6     {
  7        File startingDirectory = new File("/home/myname");
  8        FileFinder finder = new FileFinder(startingDirectory);
  9        finder.find(".java");
 10     }
 11  }