org.apache.commons.jelly.tags.ant
Class FileScanner

java.lang.Object
  extended by org.apache.commons.jelly.tags.ant.FileScanner

public class FileScanner
extends java.lang.Object

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

Version:
$Revision: 480466 $
Author:
James Strachan

Field Summary
private  java.util.List filesets
          FileSets
private  org.apache.tools.ant.Project project
          The Ant project
 
Constructor Summary
FileScanner()
           
 
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
 java.util.Iterator directories()
           
 boolean hasFiles()
           
 java.util.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
 

Field Detail

filesets

private java.util.List filesets
FileSets


project

private org.apache.tools.ant.Project project
The Ant project

Constructor Detail

FileScanner

public FileScanner()
Method Detail

setProject

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

iterator

public java.util.Iterator iterator()

directories

public java.util.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).