Package org.codehaus.groovy.ant
Class FileIterator
- java.lang.Object
- 
- org.codehaus.groovy.ant.FileIterator
 
- 
- All Implemented Interfaces:
- java.util.Iterator
 
 public class FileIterator extends java.lang.Object implements java.util.IteratorFileIteratoris an iterator over a number of files from a collection of FileSet instances.
- 
- 
Constructor SummaryConstructors Constructor Description FileIterator(org.apache.tools.ant.Project project, java.util.Iterator<org.apache.tools.ant.types.FileSet> fileSetIterator)FileIterator(org.apache.tools.ant.Project project, java.util.Iterator<org.apache.tools.ant.types.FileSet> fileSetIterator, boolean iterateDirectories)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanhasNext()java.lang.Objectnext()voidremove()throws UnsupportedOperationException
 
- 
- 
- 
Constructor Detail- 
FileIteratorpublic FileIterator(org.apache.tools.ant.Project project, java.util.Iterator<org.apache.tools.ant.types.FileSet> fileSetIterator)
 - 
FileIteratorpublic FileIterator(org.apache.tools.ant.Project project, java.util.Iterator<org.apache.tools.ant.types.FileSet> fileSetIterator, boolean iterateDirectories)
 
- 
 - 
Method Detail- 
hasNextpublic boolean hasNext() - Specified by:
- hasNextin interface- java.util.Iterator
- Returns:
- true if there is another object that matches the given predicate
 
 - 
nextpublic java.lang.Object next() - Specified by:
- nextin interface- java.util.Iterator
- Returns:
- the next object which matches the given predicate
 
 - 
removepublic void remove() throws UnsupportedOperationException- Specified by:
- removein interface- java.util.Iterator
 
 
- 
 
-