Package ghidra.framework.model
Class ProjectDataUtils.DomainFileIterator
java.lang.Object
ghidra.framework.model.ProjectDataUtils.DomainFileIterator
- All Implemented Interfaces:
Iterator<DomainFile>
- Enclosing class:
ProjectDataUtils
public static class ProjectDataUtils.DomainFileIterator
extends Object
implements Iterator<DomainFile>
A not-thread-safe
DomainFile
iterator that recursively walks a
project's data
and returns each DomainFile
that is
found.-
Constructor Summary
ConstructorDescriptionDomainFileIterator
(DomainFolder startFolder) Recursively traverse theDomainFile
s under a specificDomainFolder
.DomainFileIterator
(Project project) Recursively traverse aProject
starting in its root folder. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Iterator
forEachRemaining, remove
-
Constructor Details
-
DomainFileIterator
Recursively traverse aProject
starting in its root folder.- Parameters:
project
-
-
DomainFileIterator
Recursively traverse theDomainFile
s under a specificDomainFolder
.- Parameters:
startFolder
-
-
-
Method Details
-
hasNext
public boolean hasNext()- Specified by:
hasNext
in interfaceIterator<DomainFile>
-
next
- Specified by:
next
in interfaceIterator<DomainFile>
-