Package ghidra.framework.model
Class ProjectDataUtils.DomainFileIterator
- java.lang.Object
-
- ghidra.framework.model.ProjectDataUtils.DomainFileIterator
-
- All Implemented Interfaces:
java.util.Iterator<DomainFile>
- Enclosing class:
- ProjectDataUtils
public static class ProjectDataUtils.DomainFileIterator extends java.lang.Object implements java.util.Iterator<DomainFile>
A not-thread-safeDomainFile
iterator that recursively walks aproject's data
and returns eachDomainFile
that is found.
-
-
Constructor Summary
Constructors Constructor Description DomainFileIterator(DomainFolder startFolder)
Recursively traverse theDomainFile
s under a specificDomainFolder
.DomainFileIterator(Project project)
Recursively traverse aProject
starting in its root folder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasNext()
DomainFile
next()
-
-
-
Constructor Detail
-
DomainFileIterator
public DomainFileIterator(Project project)
Recursively traverse aProject
starting in its root folder.- Parameters:
project
-
-
DomainFileIterator
public DomainFileIterator(DomainFolder startFolder)
Recursively traverse theDomainFile
s under a specificDomainFolder
.- Parameters:
startFolder
-
-
-
Method Detail
-
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interfacejava.util.Iterator<DomainFile>
-
next
public DomainFile next()
- Specified by:
next
in interfacejava.util.Iterator<DomainFile>
-
-