Package javax.mail.event
Class FolderAdapter
- java.lang.Object
-
- javax.mail.event.FolderAdapter
-
- All Implemented Interfaces:
java.util.EventListener
,FolderListener
public abstract class FolderAdapter extends java.lang.Object implements FolderListener
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
Constructors Constructor Description FolderAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
folderCreated(FolderEvent e)
Invoked when a Folder is created.void
folderDeleted(FolderEvent e)
Invoked when a folder is deleted.void
folderRenamed(FolderEvent e)
Invoked when a folder is renamed.
-
-
-
Method Detail
-
folderCreated
public void folderCreated(FolderEvent e)
Description copied from interface:FolderListener
Invoked when a Folder is created.- Specified by:
folderCreated
in interfaceFolderListener
- Parameters:
e
- the FolderEvent
-
folderRenamed
public void folderRenamed(FolderEvent e)
Description copied from interface:FolderListener
Invoked when a folder is renamed.- Specified by:
folderRenamed
in interfaceFolderListener
- Parameters:
e
- the FolderEvent
-
folderDeleted
public void folderDeleted(FolderEvent e)
Description copied from interface:FolderListener
Invoked when a folder is deleted.- Specified by:
folderDeleted
in interfaceFolderListener
- Parameters:
e
- the FolderEvent
-
-