org.apache.tools.ant.types.selectors
Class AndSelector

public class AndSelector
extends BaseSelectorContainer
This selector has a collection of other selectors, all of which have to select a file in order for this selector to select it.
Since1.5
VersionNot specified.
AuthorNot specified.
Wiki javadoc Use textile entry format.
Add your comments here.
Fields inherited from org.apache.tools.ant.typesDataType
Fields inherited from org.apache.tools.antProjectComponent
Constructor Summary
AndSelector()
Default constructor.
Method Summary
boolean isSelected( File basedir, String filename, File file )
Returns true (the file is selected) only if all other selectors agree that the file should be selected.
String toString()
No description provided.
Methods inherited from org.apache.tools.ant.types.selectorsBaseSelector
AndSelector
public AndSelector ( )
Default constructor.
Wiki javadoc Use textile entry format.
Add your comments here.
isSelected
public boolean isSelected ( File basedir, String filename, File file )
Returns true (the file is selected) only if all other selectors agree that the file should be selected.
Overrides method in BaseSelectorContainer
Parameters
TypeNameDescription
File basedir the base directory the scan is being done from
String filename the name of the file to check
File file a java.io.File object for the filename that the selector can use
Wiki javadoc Use textile entry format.
Add your comments here.
toString
public String toString ( )
No description provided.
Overrides method in BaseSelectorContainer
Wiki javadoc Use textile entry format.
Add your comments here.