Package org.opensaml.core.xml.persist
Class FilesystemLoadSaveManager.FileIterator
java.lang.Object
org.opensaml.core.xml.persist.FilesystemLoadSaveManager.FileIterator
- Enclosing class:
- FilesystemLoadSaveManager<T extends XMLObject>
private class FilesystemLoadSaveManager.FileIterator
extends Object
implements Iterator<Pair<String,T>>
Iterator which provides lazy iteration over the managed files.
-
Field Details
-
keysIter
Iterator for the keys. -
current
Current value to return from next().
-
-
Constructor Details
-
FileIterator
Constructor.- Parameters:
filenames
- Snapshot of filesystem keys at time of construction
-
-
Method Details
-
hasNext
public boolean hasNext() -
next
-
remove
public void remove() -
getNext
Internal support to get the next item for iteration.- Returns:
- the next item for iteration, or null if no more items
-