org.apache.tools.ant.types.selectors
Class DependSelector
- Cloneable, FileSelector
public class DependSelector
Selector that filters files based on whether they are newer than
a matching file in another directory tree. It can contain a mapper
element, so isn't available as an ExtendSelector (since those
parameters can't hold other elements).
boolean | selectionTest(File srcfile, File destfile) - this test is our selection test that compared the file with the destfile
|
String | toString()
|
checkAttributesAllowed , checkChildrenAllowed , circularReference , clone , dieOnCircularReference , dieOnCircularReference , dieOnCircularReference , getCheckedRef , getCheckedRef , getCheckedRef , getCheckedRef , getDataTypeName , getRefid , invokeCircularReferenceCheck , isChecked , isReference , noChildrenAllowed , setChecked , setRefid , toString , tooManyAttributes |
DependSelector
public DependSelector()
Creates a new DependSelector
instance.
selectionTest
public boolean selectionTest(File srcfile,
File destfile)
this test is our selection test that compared the file with the destfile
- selectionTest in interface MappingSelector
srcfile
- the source filedestfile
- the destination file
- true if destination is out of date
toString
public String toString()
- toString in interface DataType
- a string describing this object