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

java.lang.Object
  extended byorg.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: 155420 $
Author:
James Strachan

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
 

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



Copyright © 2002-2006 Apache Software Foundation. All Rights Reserved.