Package ghidra.framework.store
Interface FileSystemListener
-
- All Known Implementing Classes:
FileSystemListenerList
public interface FileSystemListenerFileSystemListenerprovides a listener the ability to be notified of folder and file changes within a FileSystem.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidfolderCreated(java.lang.String parentPath, java.lang.String name)Notification that a new folder was created.voidfolderDeleted(java.lang.String parentPath, java.lang.String folderName)Notification that a folder was deleted.voidfolderMoved(java.lang.String parentPath, java.lang.String folderName, java.lang.String newParentPath)Notification that a folder was moved.voidfolderRenamed(java.lang.String parentPath, java.lang.String oldFolderName, java.lang.String newFolderName)Notification that a folder was renamed.voiditemChanged(java.lang.String parentPath, java.lang.String itemName)Notfication that an item's state has changed.voiditemCreated(java.lang.String parentPath, java.lang.String name)Notification that a new folder item was created.voiditemDeleted(java.lang.String folderPath, java.lang.String itemName)Notification that a folder item was deleted.voiditemMoved(java.lang.String parentPath, java.lang.String name, java.lang.String newParentPath, java.lang.String newName)Notification that an item was moved.voiditemRenamed(java.lang.String folderPath, java.lang.String oldItemName, java.lang.String newItemName)Notification that an item was renamed.voidsyncronize()Perform a full refresh / synchronization
-
-
-
Method Detail
-
folderCreated
void folderCreated(java.lang.String parentPath, java.lang.String name)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
void itemCreated(java.lang.String parentPath, java.lang.String name)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
void folderDeleted(java.lang.String parentPath, java.lang.String folderName)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
void folderMoved(java.lang.String parentPath, java.lang.String folderName, java.lang.String newParentPath)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
void folderRenamed(java.lang.String parentPath, java.lang.String oldFolderName, java.lang.String newFolderName)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
void itemDeleted(java.lang.String folderPath, java.lang.String itemName)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
void itemRenamed(java.lang.String folderPath, java.lang.String oldItemName, java.lang.String newItemName)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
void itemMoved(java.lang.String parentPath, java.lang.String name, java.lang.String newParentPath, java.lang.String newName)Notification that an item was moved.- Parameters:
parentPath- the path of the folder that used to contain the item.itemName- 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
void itemChanged(java.lang.String parentPath, java.lang.String itemName)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
-
-