Package jakarta.mail.event
Interface FolderListener
- All Superinterfaces:
EventListener
- All Known Implementing Classes:
FolderAdapter
This is the Listener interface for Folder events.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Invoked when a Folder is created.void
Invoked when a folder is deleted.void
Invoked when a folder is renamed.
-
Method Details
-
folderCreated
Invoked when a Folder is created.- Parameters:
e
- the FolderEvent
-
folderDeleted
Invoked when a folder is deleted.- Parameters:
e
- the FolderEvent
-
folderRenamed
Invoked when a folder is renamed.- Parameters:
e
- the FolderEvent
-