org.apache.tools.ant.types
Interface ResourceCollection
- ArchiveFileSet, ArchiveResource, BaseResourceCollectionContainer, BaseResourceCollectionWrapper, BCFileSet, BZip2Resource, ClassfileSet, CompressedResource, Difference, DirSet, FileList, FileResource, Files, FileSet, First, Gjdoc.TagArgument, GZipResource, Intersect, Javadoc.TagArgument, JavaResource, LibFileSet, Path, Path.PathElement, PropertyResource, PropertySet, Resource, Resources, Restrict, Sort, StringResource, Tar.TarFileSet, TarFileSet, TarResource, Tokens, Union, URLResource, ZipFileSet, ZipResource
public interface ResourceCollection
Interface describing a collection of Resources.
boolean | isFilesystemOnly() - Indicate whether this ResourceCollection is composed entirely of
Resources accessible via local filesystem conventions.
|
Iterator | iterator() - Get an Iterator over the contents of this ResourceCollection, whose elements
are
org.apache.tools.ant.types.Resource instances.
|
int | size() - Learn the number of contained Resources.
|
isFilesystemOnly
public boolean isFilesystemOnly()
Indicate whether this ResourceCollection is composed entirely of
Resources accessible via local filesystem conventions. If true,
all Resources returned from this ResourceCollection should be
instances of FileResource.
- whether this is a filesystem-only resource collection.
iterator
public Iterator iterator()
Get an Iterator over the contents of this ResourceCollection, whose elements
are org.apache.tools.ant.types.Resource
instances.
- an Iterator of Resources.
size
public int size()
Learn the number of contained Resources.
- number of elements as int.