FolderListener (Java EE 5)

Java EE API


javax.mail.event Interface FolderListener

All Superinterfaces:
EventListener
All Known Implementing Classes:
FolderAdapter

public interface FolderListener
extends EventListener

Implements: java.util.EventListener
Implemented by: FolderAdapter

这是 Folder 事件的 Listener 接口。
英文文档:

This is the Listener interface for Folder events.

Author:
John Mani

Method Summary
 void
 void
 void
 

Method Detail

public void folderCreated(FolderEvent e)
创建文件夹时调用。
英文文档:

folderCreated

void folderCreated(FolderEvent e)
Invoked when a Folder is created.


public void folderDeleted(FolderEvent e)
删除文件夹时调用。
英文文档:

folderDeleted

void folderDeleted(FolderEvent e)
Invoked when a folder is deleted.


public void folderRenamed(FolderEvent e)
重命名文件夹时调用。
英文文档:

folderRenamed

void folderRenamed(FolderEvent e)
Invoked when a folder is renamed.



Submit a bug or feature

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

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

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