On this page
[Java] Class FileIterator
- org.codehaus.groovy.ant.FileIterator
- All Implemented Interfaces and Traits:
- Iterator
public class FileIterator
extends Object
implements Iterator
FileIterator
is an iterator over a number of files from a collection of FileSet instances.
Constructor Summary
Constructor and description |
---|
FileIterator (Project project, Iterator<FileSet> fileSetIterator) |
FileIterator (Project project, Iterator<FileSet> fileSetIterator, boolean iterateDirectories) |
Methods Summary
Type Params | Return Type | Name and description |
---|---|---|
public boolean |
hasNext()
|
|
public Object |
next()
|
|
public void |
remove() throws UnsupportedOperationException |
Inherited Methods Summary
Constructor Detail
public FileIterator(Project project, Iterator<FileSet> fileSetIterator)
public FileIterator(Project project, Iterator<FileSet> fileSetIterator, boolean iterateDirectories)
Method Detail
public boolean hasNext()
- Returns:
- true if there is another object that matches the given predicate
public Object next()
- Returns:
- the next object which matches the given predicate
public void remove()
throws UnsupportedOperationException
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/3.0.9/html/gapi/org/codehaus/groovy/ant/FileIterator.html