org.codehaus.groovy.ant
Class FileScanner

java.lang.Object
  extended byorg.codehaus.groovy.ant.FileScanner

public class FileScanner
extends Object

FileScanner is a bean which allows the iteration over a number of files from a colleciton of FileSet instances.

Version:
$Revision: 1.1 $
Author:
James Strachan

Constructor Summary
FileScanner()
           
FileScanner(org.apache.tools.ant.Project project)
           
 
Method Summary
 void addFileset(org.apache.tools.ant.types.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()
           
 void setProject(org.apache.tools.ant.Project project)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileScanner

public FileScanner()

FileScanner

public FileScanner(org.apache.tools.ant.Project project)
Method Detail

setProject

public void setProject(org.apache.tools.ant.Project project)

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).



Copyright © 2003-2007 The Codehaus. All Rights Reserved.