Package ghidra.framework.store
Interface FileSystemListener
- All Known Implementing Classes:
FileSystemEventManager
public interface FileSystemListener
FileSystemListener
provides a listener the ability
to be notified of folder and file changes within a FileSystem.-
Method Summary
Modifier and TypeMethodDescriptionvoid
folderCreated
(String parentPath, String name) Notification that a new folder was created.void
folderDeleted
(String parentPath, String folderName) Notification that a folder was deleted.void
folderMoved
(String parentPath, String folderName, String newParentPath) Notification that a folder was moved.void
folderRenamed
(String parentPath, String oldFolderName, String newFolderName) Notification that a folder was renamed.void
itemChanged
(String parentPath, String itemName) Notfication that an item's state has changed.void
itemCreated
(String parentPath, String name) Notification that a new folder item was created.void
itemDeleted
(String folderPath, String itemName) Notification that a folder item was deleted.void
Notification that an item was moved.void
itemRenamed
(String folderPath, String oldItemName, String newItemName) Notification that an item was renamed.void
Perform a full refresh / synchronization
-
Method Details
-
folderCreated
Notification that a new folder was created.- Parameters:
parentPath
- the path of the folder that contains the new foldername
- the name of the new folder
-
itemCreated
Notification that a new folder item was created.- Parameters:
parentPath
- the path of the folder that contains the new item.name
- the name of the new item.
-
folderDeleted
Notification that a folder was deleted.- Parameters:
parentPath
- the path of the folder that contained the deleted folder.folderName
- the name of the folder that was deleted.
-
folderMoved
Notification that a folder was moved.- Parameters:
parentPath
- the path of the folder that used to contain the moved folder.folderName
- the name of the folder that was moved.newParentPath
- the path of the folder that now contains the moved folder.
-
folderRenamed
Notification that a folder was renamed.- Parameters:
parentPath
- the path of the folder containing the folder that was renamed.oldFolderName
- the old name of the folder.newFolderName
- the new name of the folder.
-
itemDeleted
Notification that a folder item was deleted.- Parameters:
folderPath
- the path of the folder that contained the deleted item.itemName
- the name of the item that was deleted.
-
itemRenamed
Notification that an item was renamed.- Parameters:
folderPath
- the path of the folder that contains the renamed itemoldItemName
- the old name of the item.newItemName
- the new name of the item.
-
itemMoved
Notification that an item was moved.- Parameters:
parentPath
- the path of the folder that used to contain the item.name
- the name of the item that was moved.newParentPath
- the path of the folder that the item was moved to.newName
- the new name of the item.
-
itemChanged
Notfication that an item's state has changed.- Parameters:
parentPath
- the path of the folder containing the item.itemName
- the name of the item that has changed.
-
syncronize
void syncronize()Perform a full refresh / synchronization
-