org.apache.tools.ant.types.resources
Class Intersect

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.types.DataType
          extended by org.apache.tools.ant.types.resources.BaseResourceCollectionContainer
              extended by org.apache.tools.ant.types.resources.Intersect
All Implemented Interfaces:
java.lang.Cloneable, ResourceCollection

public class Intersect
extends BaseResourceCollectionContainer

ResourceCollection representing the intersection of multiple nested ResourceCollections.

Since:
Ant 1.7

Field Summary
 
Fields inherited from class org.apache.tools.ant.types.DataType
checked, ref
 
Fields inherited from class org.apache.tools.ant.ProjectComponent
description, location, project
 
Constructor Summary
Intersect()
           
 
Method Summary
protected  java.util.Collection getCollection()
          Calculate the intersection of the nested ResourceCollections.
 
Methods inherited from class org.apache.tools.ant.types.resources.BaseResourceCollectionContainer
add, addAll, clear, clone, dieOnCircularReference, getResourceCollections, isCache, isFilesystemOnly, iterator, setCache, size, toString
 
Methods inherited from class org.apache.tools.ant.types.DataType
checkAttributesAllowed, checkChildrenAllowed, circularReference, dieOnCircularReference, dieOnCircularReference, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getDataTypeName, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, setChecked, setRefid, tooManyAttributes
 
Methods inherited from class org.apache.tools.ant.ProjectComponent
getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProject
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Intersect

public Intersect()
Method Detail

getCollection

protected java.util.Collection getCollection()
Calculate the intersection of the nested ResourceCollections.

Specified by:
getCollection in class BaseResourceCollectionContainer
Returns:
a Collection of Resources.