1 package net.sourceforge.phpeclipse.mover;
6 * Allows only php files for the mover
8 public class PHPFilter extends DefaultFilter {
10 public boolean isFileOk(File file) {
11 String fileName = file.getAbsolutePath().toLowerCase();
12 if (fileName.endsWith(".php")
13 || fileName.endsWith(".php3")
14 || fileName.endsWith(".php4")
15 || fileName.endsWith(".phtml")
16 || fileName.endsWith(".inc")) {
22 public boolean isDirectoryOk(File file) {