public class FileResourceIterator
extends java.lang.Object
implements java.util.Iterator
Constructor and Description |
---|
FileResourceIterator()
Deprecated.
in favor of
FileResourceIterator(Project) |
FileResourceIterator(java.io.File basedir)
Deprecated.
in favor of
FileResourceIterator(Project, File) |
FileResourceIterator(java.io.File basedir,
java.lang.String[] filenames)
Deprecated.
in favor of
FileResourceIterator(Project, File, String[]) |
FileResourceIterator(Project project)
Create a new FileResourceIterator.
|
FileResourceIterator(Project project,
java.io.File basedir)
Construct a new FileResourceIterator relative to the specified
base directory.
|
FileResourceIterator(Project project,
java.io.File basedir,
java.lang.String[] filenames)
Construct a new FileResourceIterator over the specified filenames,
relative to the specified base directory.
|
Modifier and Type | Method and Description |
---|---|
void |
addFiles(java.lang.String[] s)
Add an array of filenames to this FileResourceIterator.
|
boolean |
hasNext()
Find out whether this FileResourceIterator has more elements.
|
java.lang.Object |
next()
Get the next element from this FileResourceIterator.
|
FileResource |
nextResource()
Convenience method to return the next resource.
|
void |
remove()
Not implemented.
|
public FileResourceIterator()
FileResourceIterator(Project)
public FileResourceIterator(Project project)
project
- associated Project instancepublic FileResourceIterator(java.io.File basedir)
FileResourceIterator(Project, File)
basedir
- the base directory of this instance.public FileResourceIterator(Project project, java.io.File basedir)
project
- associated Project instancebasedir
- the base directory of this instance.public FileResourceIterator(java.io.File basedir, java.lang.String[] filenames)
FileResourceIterator(Project, File, String[])
basedir
- the base directory of this instance.filenames
- the String[] of filenames.public FileResourceIterator(Project project, java.io.File basedir, java.lang.String[] filenames)
project
- associated Project instancebasedir
- the base directory of this instance.filenames
- the String[] of filenames.public void addFiles(java.lang.String[] s)
s
- the filenames to add.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
public FileResource nextResource()