Methods Summary |
---|
public java.lang.Object | clone()Return a FileSet that has the same basedir and same patternsets
as this one.
if (isReference()) {
return ((FileSet) getRef(getProject())).clone();
} else {
return super.clone();
}
|
public boolean | isFilesystemOnly()Always returns true.
return true;
|
public java.util.Iterator | iterator()Fulfill the ResourceCollection contract.
if (isReference()) {
return ((FileSet) getRef(getProject())).iterator();
}
return new FileResourceIterator(getDir(getProject()),
getDirectoryScanner(getProject()).getIncludedFiles());
|
public int | size()Fulfill the ResourceCollection contract.
if (isReference()) {
return ((FileSet) getRef(getProject())).size();
}
return getDirectoryScanner(getProject()).getIncludedFilesCount();
|