Groovy 2.2.1

org.codehaus.groovy.ant
[Java] Class FileScanner

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.

Authors:
James Strachan
Marc Guillemot
Version:
\$Revision\$


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
getOwningTarget, getTaskName, getTaskType, setTaskType, setTaskName, setOwningTarget, getRuntimeConfigurableWrapper, setRuntimeConfigurableWrapper, maybeConfigure, perform, reconfigure, 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

FileScanner

public FileScanner()


FileScanner

public FileScanner(Project project)


 
Method Detail

addFileset

public void addFileset(FileSet set)
Adds a set of files (nested fileset attribute).


clear

public void clear()
Clears any file sets that have been added to this scanner


directories

public Iterator directories()


hasFiles

public boolean hasFiles()


iterator

public Iterator iterator()


 

Copyright © 2003-2013 The Codehaus. All rights reserved.