1 18 package org.apache.tools.ant.types.selectors; 19 20 import java.io.File ; 21 22 import org.apache.tools.ant.BuildException; 23 import org.apache.tools.ant.types.Parameter; 24 25 33 public abstract class BaseExtendSelector 34 extends BaseSelector 35 implements ExtendFileSelector { 36 37 39 40 protected Parameter[] parameters = null; 41 42 44 47 public BaseExtendSelector() { 48 } 49 50 56 public void setParameters(Parameter[] parameters) { 57 this.parameters = parameters; 58 } 59 60 66 protected Parameter[] getParameters() { 67 return parameters; 68 } 69 70 82 public abstract boolean isSelected(File basedir, String filename, 83 File file) 84 throws BuildException; 85 86 } 87 88 | Popular Tags |