Interface AppendableResourceCollection
- All Superinterfaces:
Iterable<Resource>, ResourceCollection
- All Known Implementing Classes:
BaseResourceCollectionContainer, Difference, Intersect, Resources, Union
Interface describing a collection of Resources, to which elements can be
appended.
- Since:
- Ant 1.10.10
-
Method Summary
Modifier and TypeMethodDescriptionvoidAdd a ResourceCollection to the container.Methods inherited from interface Iterable
forEach, iterator, spliteratorMethods inherited from interface ResourceCollection
isEmpty, isFilesystemOnly, size, streamModifier and TypeMethodDescriptiondefault booleanisEmpty()Learn whether thisResourceCollectionis empty.booleanIndicate whether this ResourceCollection is composed entirely of Resources accessible via local filesystem conventions.intsize()Learn the number of contained Resources.stream()Return aStreamover thisResourceCollection.
-
Method Details
-
add
Add a ResourceCollection to the container.- Parameters:
c- the ResourceCollection to add.- Throws:
BuildException- on error.- Since:
- Ant 1.10.10
-