/** EachInDirectory.java calls a callback with the name of each file in a given directory By Rowland http://home.comcast.net/~rowland3/ **/ import java.io.*; class EachInDirectory { public EachInDirectory(String dirSpec) { File f= new File(dirSpec); String files[]= f.list(); for (int i=0; i