站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Java Platform, Enterprise Edition v1.4 API Specifications

FolderAdapter (Java 2 Platform Ent. Ed. v1.4) - Java Platform, Enterprise Edition v1.4 API Specifications

JavaTM 2 Platform
Ent. Ed. v1.4

javax.mail.event
Class FolderAdapter

java.lang.Object
  extended byjavax.mail.event.FolderAdapter
All Implemented Interfaces:
EventListener, FolderListener

public abstract class FolderAdapter
extends 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.

Author:
John Mani

Constructor Summary
FolderAdapter()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FolderAdapter

public FolderAdapter()
Method Detail

folderCreated

public void folderCreated(FolderEvent e)
Description copied from interface: FolderListener
Invoked when a Folder is created.

Specified by:
folderCreated in interface FolderListener

folderRenamed

public void folderRenamed(FolderEvent e)
Description copied from interface: FolderListener
Invoked when a folder is renamed.

Specified by:
folderRenamed in interface FolderListener

folderDeleted

public void folderDeleted(FolderEvent e)
Description copied from interface: FolderListener
Invoked when a folder is deleted.

Specified by:
folderDeleted in interface FolderListener

JavaTM 2 Platform
Ent. Ed. v1.4

Submit a bug or feature

Copyright 2003 Sun Microsystems, Inc. All rights reserved.