Top Description Constructors Methods
org.apache.tools.ant.types.resources

public Class BCFileSet

extends FileSet
Class Inheritance
Imports
java.util.Iterator, org.apache.tools.ant.types.FileSet, .Resource

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

Constructor Summary

AccessConstructor and Description
public
BCFileSet()

Default constructor.

public
BCFileSet(FileSet
the FileSet from which to inherit config.
fs
)

Construct a new BCFileSet from the specified FileSet.

Method Summary

Modifier and TypeMethod and Description
private FileSet
public Iterator<Resource>

Returns:

an Iterator of Resources.
iterator
()

Overrides org.apache.tools.ant.types.FileSet.iterator.

Implements java.lang.Iterable.iterator.

Fulfill the ResourceCollection contract.
public int

Returns:

number of elements as int.
size
()

Overrides org.apache.tools.ant.types.FileSet.size.

Implements org.apache.tools.ant.types.ResourceCollection.size.

Fulfill the ResourceCollection contract.
Inherited from org.apache.tools.ant.types.FileSet:
clonegetRefisFilesystemOnly

Constructor Detail

BCFileSetback to summary
public BCFileSet()

Default constructor.

BCFileSetback to summary
public BCFileSet(FileSet fs)

Construct a new BCFileSet from the specified FileSet.

Parameters
fs:FileSet

the FileSet from which to inherit config.

Method Detail

getRefback to summary
private FileSet getRef()

Hides org.apache.tools.ant.types.FileSet.getRef.

iteratorback to summary
public Iterator<Resource> iterator()

Overrides org.apache.tools.ant.types.FileSet.iterator.

Implements java.lang.Iterable.iterator.

Fulfill the ResourceCollection contract.

Returns:Iterator<Resource>

an Iterator of Resources.

Annotations
@Override
Since
Ant 1.7
sizeback to summary
public int size()

Overrides org.apache.tools.ant.types.FileSet.size.

Implements org.apache.tools.ant.types.ResourceCollection.size.

Fulfill the ResourceCollection contract.

Returns:int

number of elements as int.

Annotations
@Override
Since
Ant 1.7