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:
- java.lang.Cloneable
public class FileScanner
extends org.apache.tools.ant.Task
FileScanner is a bean which allows the iteration
 over a number of files from a collection of FileSet instances.
- 
Field SummaryFields inherited from class org.apache.tools.ant.Tasktarget, taskName, taskType, wrapperFields inherited from class org.apache.tools.ant.ProjectComponentdescription, location, project
- 
Constructor SummaryConstructors Constructor Description FileScanner()FileScanner(org.apache.tools.ant.Project project)
- 
Method SummaryModifier 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 scannerjava.util.Iteratordirectories()booleanhasFiles()java.util.Iteratoriterator()Methods inherited from class org.apache.tools.ant.TaskbindToOwner, execute, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskTypeMethods inherited from class org.apache.tools.ant.ProjectComponentclone, getDescription, getLocation, getProject, setDescription, setLocation, setProjectMethods inherited from class java.lang.Objectequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
- 
Constructor Details- 
FileScannerpublic FileScanner()
- 
FileScannerpublic FileScanner(org.apache.tools.ant.Project project)
 
- 
- 
Method Details- 
iteratorpublic java.util.Iterator iterator()
- 
directoriespublic java.util.Iterator directories()
- 
hasFilespublic boolean hasFiles()
- 
clearpublic void clear()Clears any file sets that have been added to this scanner
- 
addFilesetpublic void addFileset(org.apache.tools.ant.types.FileSet set)Adds a set of files (nested fileset attribute).
 
-