org.apache.tools.ant.types.resources

Class BCFileSet

public class BCFileSet extends FileSet

Utility FileSet that includes directories for backwards-compatibility with certain tasks e.g. Delete.

Since: Ant 1.7

Constructor Summary
BCFileSet()
Default constructor.
BCFileSet(FileSet fs)
Construct a new BCFileSet from the specified FileSet.
Method Summary
Iteratoriterator()
Fulfill the ResourceCollection contract.
intsize()
Fulfill the ResourceCollection contract.

Constructor Detail

BCFileSet

public BCFileSet()
Default constructor.

BCFileSet

public BCFileSet(FileSet fs)
Construct a new BCFileSet from the specified FileSet.

Parameters: fs the FileSet from which to inherit config.

Method Detail

iterator

public Iterator iterator()
Fulfill the ResourceCollection contract.

Returns: an Iterator of Resources.

Since: Ant 1.7

size

public int size()
Fulfill the ResourceCollection contract.

Returns: number of elements as int.

Since: Ant 1.7