org.apache.commons.jelly.tags.ant
Class FileIterator
java.lang.Object
org.apache.commons.jelly.tags.ant.FileIterator
- All Implemented Interfaces:
- java.util.Iterator
- public class FileIterator
- extends java.lang.Object
- implements java.util.Iterator
FileIterator
is an iterator over a
over a number of files from a colleciton of FileSet instances.
- Version:
- $Revision: 155420 $
- Author:
- James Strachan
Constructor Summary |
FileIterator(org.apache.tools.ant.Project project,
java.util.Iterator fileSetIterator)
|
FileIterator(org.apache.tools.ant.Project project,
java.util.Iterator fileSetIterator,
boolean iterateDirectories)
|
Method Summary |
boolean |
hasNext()
|
java.lang.Object |
next()
|
void |
remove()
throws UnsupportedOperationException |
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,
java.util.Iterator fileSetIterator)
FileIterator
public FileIterator(org.apache.tools.ant.Project project,
java.util.Iterator fileSetIterator,
boolean iterateDirectories)
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface java.util.Iterator
- Returns:
- true if there is another object that matches the given predicate
next
public java.lang.Object next()
- Specified by:
next
in interface java.util.Iterator
- Returns:
- the next object which matches the given predicate
remove
public void remove()
- throws UnsupportedOperationException
- Specified by:
remove
in interface java.util.Iterator
Copyright © 2002-2006 Apache Software Foundation. All Rights Reserved.