org.codehaus.groovy.ant
Class FileIterator
java.lang.Object
org.codehaus.groovy.ant.FileIterator
- All Implemented Interfaces:
- Iterator
- public class FileIterator
- extends Object
- implements Iterator
FileIterator
is an iterator over a
over a number of files from a colleciton of FileSet instances.
- Version:
- $Revision: 388 $
- Author:
- James Strachan
Constructor Summary |
FileIterator(org.apache.tools.ant.Project project,
Iterator fileSetIterator)
|
FileIterator(org.apache.tools.ant.Project project,
Iterator fileSetIterator,
boolean iterateDirectories)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileIterator
public FileIterator(org.apache.tools.ant.Project project,
Iterator fileSetIterator)
FileIterator
public FileIterator(org.apache.tools.ant.Project project,
Iterator fileSetIterator,
boolean iterateDirectories)
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface Iterator
- Returns:
- true if there is another object that matches the given predicate
next
public Object next()
- Specified by:
next
in interface Iterator
- Returns:
- the next object which matches the given predicate
remove
public void remove()
- throws UnsupportedOperationException
- Specified by:
remove
in interface Iterator
Copyright © 2003-2007 The Codehaus. All Rights Reserved.