com.calfater.mailcarbon.manager
Class FolderManager

java.lang.Object
  extended by com.calfater.mailcarbon.manager.FolderManager

public class FolderManager
extends java.lang.Object

Manage Folders list.


Constructor Summary
FolderManager()
           
 
Method Summary
 void addFolder(javax.mail.Folder folder)
          Add a folder
 boolean isPresent(javax.mail.Folder folder)
          Return true if the folder is in the list.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FolderManager

public FolderManager()
Method Detail

addFolder

public void addFolder(javax.mail.Folder folder)
               throws javax.mail.MessagingException
Add a folder

Parameters:
folder - A Folder.
Throws:
javax.mail.MessagingException

isPresent

public boolean isPresent(javax.mail.Folder folder)
                  throws javax.mail.MessagingException
Return true if the folder is in the list.

Parameters:
folder - The Folder.
Returns:
true if the folder is present.
Throws:
javax.mail.MessagingException