org.apache.tools.ant.types.selectors
Class DependSelector
- 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 , dieOnCircularReference , getCheckedRef , getDescription , getRefid , isChecked , isReference , noChildrenAllowed , setChecked , setDescription , setRefid , 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()
- a string describing this object
Copyright B) 2000-2007 Apache Software Foundation. All Rights Reserved.