public class FileIterator
extends java.lang.Object
implements java.util.Iterator
FileIterator
is an iterator over a
number of files from a collection of FileSet instances.
Constructor and Description |
---|
FileIterator(org.apache.tools.ant.Project project,
java.util.Iterator fileSetIterator) |
FileIterator(org.apache.tools.ant.Project project,
java.util.Iterator fileSetIterator,
boolean iterateDirectories) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
java.lang.Object |
next() |
void |
remove()
throws UnsupportedOperationException
|
public FileIterator(org.apache.tools.ant.Project project, java.util.Iterator fileSetIterator)
public FileIterator(org.apache.tools.ant.Project project, java.util.Iterator fileSetIterator, boolean iterateDirectories)
public boolean hasNext()
hasNext
in interface java.util.Iterator
public java.lang.Object next()
next
in interface java.util.Iterator
public void remove()
remove
in interface java.util.Iterator