Code example for FileFilter

Methods: accept

0
  public Collection<File> getFiles() {
    return myContainer;
  } 
 
  public boolean apply(Module module, File file, String sourceRoot) throws Exception {
    if (myFilter.accept(file)) {
      myContainer.add(file);
    } 
    return true; 
  } 
}