Package jakarta.mail.event
Class FolderAdapter
java.lang.Object
jakarta.mail.event.FolderAdapter
- All Implemented Interfaces:
FolderListener
,EventListener
The adapter which receives Folder events.
The methods in this class are empty; this class is provided as a
convenience for easily creating listeners by extending this class
and overriding only the methods of interest.
-
Constructor Summary
-
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.
-
Constructor Details
-
FolderAdapter
public FolderAdapter()
-
-
Method Details
-
folderCreated
Description copied from interface:FolderListener
Invoked when a Folder is created.- Specified by:
folderCreated
in interfaceFolderListener
- Parameters:
e
- the FolderEvent
-
folderRenamed
Description copied from interface:FolderListener
Invoked when a folder is renamed.- Specified by:
folderRenamed
in interfaceFolderListener
- Parameters:
e
- the FolderEvent
-
folderDeleted
Description copied from interface:FolderListener
Invoked when a folder is deleted.- Specified by:
folderDeleted
in interfaceFolderListener
- Parameters:
e
- the FolderEvent
-