Package org.codehaus.groovy.ant
Class FileScanner
- java.lang.Object
 - 
- org.apache.tools.ant.ProjectComponent
 - 
- org.apache.tools.ant.Task
 - 
- org.codehaus.groovy.ant.FileScanner
 
 
 
 
- 
- All Implemented Interfaces:
 Cloneable
public class FileScanner extends org.apache.tools.ant.TaskFileScanneris a bean which allows the iteration over a number of files from a collection of FileSet instances. 
- 
- 
Constructor Summary
Constructors Constructor Description FileScanner()FileScanner(org.apache.tools.ant.Project project) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddFileset(org.apache.tools.ant.types.FileSet set)Adds a set of files (nested fileset attribute).voidclear()Clears any file sets that have been added to this scannerIteratordirectories()booleanhasFiles()Iteratoriterator()- 
Methods inherited from class org.apache.tools.ant.Task
bindToOwner, execute, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType 
 - 
 
 - 
 
- 
- 
Method Detail
- 
iterator
public Iterator iterator()
 
- 
directories
public Iterator directories()
 
- 
hasFiles
public boolean hasFiles()
 
- 
clear
public void clear()
Clears any file sets that have been added to this scanner 
- 
addFileset
public void addFileset(org.apache.tools.ant.types.FileSet set)
Adds a set of files (nested fileset attribute). 
 - 
 
 -