gnu.mail.providers.imap

Class IMAPTest

Implemented Interfaces:
ConnectionListener, EventListener, FolderListener, StoreListener

public class IMAPTest
extends Object
implements ConnectionListener, StoreListener, FolderListener

Simple test for IMAP.

Method Summary

void
closed(ConnectionEvent e)
void
disconnected(ConnectionEvent e)
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.
static void
main(String[] args)
void
notification(StoreEvent e)
void
opened(ConnectionEvent e)

Method Details

closed

public void closed(ConnectionEvent e)
Specified by:
closed in interface ConnectionListener

disconnected

public void disconnected(ConnectionEvent e)
Specified by:
disconnected in interface ConnectionListener

folderCreated

public void folderCreated(FolderEvent e)
Invoked when a Folder is created.
Specified by:
folderCreated in interface FolderListener

folderDeleted

public void folderDeleted(FolderEvent e)
Invoked when a folder is deleted.
Specified by:
folderDeleted in interface FolderListener

folderRenamed

public void folderRenamed(FolderEvent e)
Invoked when a folder is renamed.
Specified by:
folderRenamed in interface FolderListener

main

public static void main(String[] args)

notification

public void notification(StoreEvent e)
Specified by:
notification in interface StoreListener

opened

public void opened(ConnectionEvent e)
Specified by:
opened in interface ConnectionListener

© Copyright 2003, 2004 The Free Software Foundation, All rights reserved