|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tools.ant.types.resources.selectors.Not
public class Not
Not ResourceSelector.
Constructor Summary | |
---|---|
Not()
Default constructor. |
|
Not(ResourceSelector s)
Convenience constructor. |
Method Summary | |
---|---|
void |
add(ResourceSelector s)
Set the ResourceSelector. |
boolean |
isSelected(Resource r)
Return true if this Resource is selected. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Not()
public Not(ResourceSelector s)
s
- the ResourceSelector to negate.Method Detail |
---|
public void add(ResourceSelector s)
s
- the ResourceSelector to negate.
java.lang.IllegalStateException
- if already set.public boolean isSelected(Resource r)
isSelected
in interface ResourceSelector
r
- the Resource to check.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |