public int addDir(File file){
  if (!file.exists()) {
    return 0;
  }
  String[] names=getNames(getFiles(file,".class"));
  loadClass(file,names);
  return 1;
}

public int addDir ( File file ) { if ( ! file . exists ( ) ) { return 0 ; } String [ ] names = getNames ( getFiles ( file , ".class" ) ) ; loadClass ( file , names ) ; return 1 ; }
adds new locations for command classes
