FolderAdapter (Java EE 5)

Java EE API


javax.mail.event Class FolderAdapter

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

public abstract class FolderAdapter
extends Object
implements FolderListener

Implements: FolderListener

接收 Folder 事件的适配器。此类中的方法为空;提供此类是为了方便,通过扩展此类和重写感兴趣的方法,可以轻松创建侦听器。
英文文档:

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
 
Method Summary
 void
 void
 void
 
Methods inherited from class java.lang.Object
 

Constructor Detail

public FolderAdapter()
英文文档:

FolderAdapter

public FolderAdapter()
Method Detail

public void folderCreated(FolderEvent e)
英文文档:

folderCreated

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

Specified by:
folderCreated in interface FolderListener

public void folderRenamed(FolderEvent e)
英文文档:

folderRenamed

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

Specified by:
folderRenamed in interface FolderListener

public void folderDeleted(FolderEvent e)
英文文档:

folderDeleted

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

Specified by:
folderDeleted in interface FolderListener


Submit a bug or feature

Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.

一看就知道只有菜鸟才干这么无知的事啦。

PS : 未经我党受权你也可自由散发此文档。 如有任何错误请自行修正;若因此而造成任何损失请直接找人民主席,请勿与本人联系。谢谢!