|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.tools.ant.ProjectComponent | +--org.apache.tools.ant.types.DataType | +--org.apache.tools.ant.types.selectors.BaseSelector | +--org.apache.tools.ant.types.selectors.MappingSelector | +--org.apache.tools.ant.types.selectors.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).
Field Summary |
Fields inherited from class org.apache.tools.ant.types.selectors.MappingSelector |
granularity, map, mapperElement, targetdir |
Fields inherited from class org.apache.tools.ant.types.DataType |
checked, description, ref |
Fields inherited from class org.apache.tools.ant.ProjectComponent |
project |
Constructor Summary | |
DependSelector()
Creates a new DependSelector instance. |
Method Summary | |
boolean |
selectionTest(java.io.File srcfile,
java.io.File destfile)
this test is our selection test that compared the file with the destfile |
java.lang.String |
toString()
|
Methods inherited from class org.apache.tools.ant.types.selectors.MappingSelector |
createMapper, isSelected, setGranularity, setTargetdir, verifySettings |
Methods inherited from class org.apache.tools.ant.types.selectors.BaseSelector |
getError, setError, validate |
Methods inherited from class org.apache.tools.ant.types.DataType |
checkAttributesAllowed, checkChildrenAllowed, circularReference, dieOnCircularReference, getCheckedRef, getDescription, getRefid, isChecked, isReference, noChildrenAllowed, setChecked, setDescription, setRefid, tooManyAttributes |
Methods inherited from class org.apache.tools.ant.ProjectComponent |
getProject, log, log, setProject |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public DependSelector()
DependSelector
instance.
Method Detail |
public java.lang.String toString()
toString
in class java.lang.Object
public boolean selectionTest(java.io.File srcfile, java.io.File destfile)
selectionTest
in class MappingSelector
srcfile
- the source filedestfile
- the destination file
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |