org.apache.tools.ant.types.resources.selectors

Class And

public class And extends ResourceSelectorContainer implements ResourceSelector

And ResourceSelector.

Since: Ant 1.7

Constructor Summary
And()
Default constructor.
And(ResourceSelector[] r)
Convenience constructor.
Method Summary
booleanisSelected(Resource r)
Return true if this Resource is selected.

Constructor Detail

And

public And()
Default constructor.

And

public And(ResourceSelector[] r)
Convenience constructor.

Parameters: r the ResourceSelector[] to add.

Method Detail

isSelected

public boolean isSelected(Resource r)
Return true if this Resource is selected.

Parameters: r the Resource to check.

Returns: whether the Resource was selected.