java.lang.Object
org.jpo.eventbus.DeleteNodeFileHandler
Handles the request to delete the picture files of nodes
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidDon't use: public accessor to private deleteNodeAndFileTest method for unit tests.voidhandleEvent(DeleteNodeFileRequest request) Deletes the file and the node
-
Constructor Details
-
DeleteNodeFileHandler
public DeleteNodeFileHandler()
-
-
Method Details
-
handleEvent
Deletes the file and the node- Parameters:
request- the request
-
deleteNodeAndFileTest
@TestOnly public static void deleteNodeAndFileTest(SortableDefaultMutableTreeNode node) throws IOException Don't use: public accessor to private deleteNodeAndFileTest method for unit tests.- Parameters:
node- the node to test- Throws:
IOException- can throw
-