Package ghidra.plugin.importer
Class ProjectIndexService
java.lang.Object
ghidra.plugin.importer.ProjectIndexService
- All Implemented Interfaces:
DomainFolderChangeListener
An in-memory index of FSRL-to-domainfile in the current project.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionvoidvoiddomainFileAdded(DomainFile file) Notification that a file is added to parent folder.voiddomainFileRemoved(DomainFolder parent, String name, String fileID) Notification that a file was removedfindFirstByFSRL(FSRL fsrl) static ProjectIndexServicelookupFiles(ProjectIndexService.IndexType keyType, Object keyValue) voidsetProject(Project newProject, TaskMonitor monitor) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ghidra.framework.model.DomainFolderChangeListener
domainFileMoved, domainFileObjectClosed, domainFileObjectOpenedForUpdate, domainFileRenamed, domainFileStatusChanged, domainFolderAdded, domainFolderMoved, domainFolderRemoved, domainFolderRenamed, domainFolderSetActive
-
Method Details
-
getInstance
-
clearProject
public void clearProject() -
setProject
-
domainFileAdded
Description copied from interface:DomainFolderChangeListenerNotification that a file is added to parent folder. You can get the parent from the file.- Specified by:
domainFileAddedin interfaceDomainFolderChangeListener- Parameters:
file- domain file which was just added.
-
domainFileRemoved
Description copied from interface:DomainFolderChangeListenerNotification that a file was removed- Specified by:
domainFileRemovedin interfaceDomainFolderChangeListener- Parameters:
parent- domain folder which contained the file that was just removed.name- the name of the file that was removed.fileID- file ID or null
-
lookupFiles
-
findFirstByFSRL
-