protected class Plugin.Engine.Source.ForFolder.FolderIterator extends java.lang.Object implements java.util.Iterator<Plugin.Engine.Source.Element>
Modifier and Type | Field and Description |
---|---|
private java.util.LinkedList<java.io.File> |
files
A list of files and folders to process.
|
Modifier | Constructor and Description |
---|---|
protected |
FolderIterator(java.io.File folder)
Creates a new iterator representation for all files within a folder.
|
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
Plugin.Engine.Source.Element |
next() |
void |
remove() |
private final java.util.LinkedList<java.io.File> files
protected FolderIterator(java.io.File folder)
folder
- The root folder.public boolean hasNext()
hasNext
in interface java.util.Iterator<Plugin.Engine.Source.Element>
public Plugin.Engine.Source.Element next()
next
in interface java.util.Iterator<Plugin.Engine.Source.Element>
public void remove()
remove
in interface java.util.Iterator<Plugin.Engine.Source.Element>