org.apache.tools.ant.types.resources

Class Difference

Implemented Interfaces:
Cloneable, ResourceCollection

public class Difference
extends BaseResourceCollectionContainer

ResourceCollection representing the difference between two or more 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

Method Summary

protected Collection
getCollection()
Calculate the difference of the nested ResourceCollections.

Methods inherited from class org.apache.tools.ant.types.resources.BaseResourceCollectionContainer

add, addAll, clear, clone, dieOnCircularReference, getCollection, getResourceCollections, isCache, isFilesystemOnly, iterator, setCache, size, toString

Methods inherited from class org.apache.tools.ant.types.DataType

checkAttributesAllowed, checkChildrenAllowed, circularReference, clone, dieOnCircularReference, dieOnCircularReference, dieOnCircularReference, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getDataTypeName, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, setChecked, setRefid, toString, tooManyAttributes

Methods inherited from class org.apache.tools.ant.ProjectComponent

clone, getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProject

Method Details

getCollection

protected Collection getCollection()
Calculate the difference of the nested ResourceCollections.
Overrides:
getCollection in interface BaseResourceCollectionContainer
Returns:
a Collection of Resources.