code: public boolean filterFile(File file)
      {
          String strName = file.getName();
          if (!strName.endsWith(".java"))
              return false;
          return super.filterFile(file);
      }
docs: If this file should be processed, return true.