Class BCFileSet

All Implemented Interfaces:
Cloneable, Iterable<Resource>, ResourceCollection, SelectorContainer

public class BCFileSet extends FileSet
Utility FileSet that includes directories for backwards-compatibility with certain tasks e.g. Delete.
Since:
Ant 1.7
  • Constructor Details

    • 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 Details

    • iterator

      public Iterator<Resource> iterator()
      Fulfill the ResourceCollection contract.
      Specified by:
      iterator in interface Iterable<Resource>
      Overrides:
      iterator in class FileSet
      Returns:
      an Iterator of Resources.
      Since:
      Ant 1.7
    • size

      public int size()
      Fulfill the ResourceCollection contract.
      Specified by:
      size in interface ResourceCollection
      Overrides:
      size in class FileSet
      Returns:
      number of elements as int.
      Since:
      Ant 1.7