|
Groovy 2.2.0 | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tools.ant.ProjectComponent org.apache.tools.ant.Task org.codehaus.groovy.ant.FileScanner
public class FileScanner extends Task
FileScanner
is a bean which allows the iteration
over a number of files from a collection of FileSet instances.
Constructor Summary | |
FileScanner()
|
|
FileScanner(Project project)
|
Method Summary | |
---|---|
void
|
addFileset(FileSet set)
Adds a set of files (nested fileset attribute). |
void
|
clear()
Clears any file sets that have been added to this scanner |
Iterator
|
directories()
|
boolean
|
hasFiles()
|
Iterator
|
iterator()
|
Methods inherited from class Task | |
---|---|
maybeConfigure, getOwningTarget, getTaskName, getTaskType, setTaskType, setTaskName, setOwningTarget, getRuntimeConfigurableWrapper, setRuntimeConfigurableWrapper, reconfigure, perform, bindToOwner, log, log, log, log, init, execute, getProject, setLocation, setProject, clone, getLocation, getDescription, setDescription, wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Methods inherited from class ProjectComponent | |
---|---|
getProject, setLocation, setProject, clone, log, log, getLocation, getDescription, setDescription, wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Constructor Detail |
---|
public FileScanner()
public FileScanner(Project project)
Method Detail |
---|
public void addFileset(FileSet set)
public void clear()
public Iterator directories()
public boolean hasFiles()
public Iterator iterator()
Copyright © 2003-2013 The Codehaus. All rights reserved.