org.apache.james.mailrepository.javamail
Class StoreGateKeeperImpl

java.lang.Object
  extended by org.apache.james.mailrepository.javamail.StoreGateKeeperImpl
All Implemented Interfaces:
StoreGateKeeper

public class StoreGateKeeperImpl
extends java.lang.Object
implements StoreGateKeeper


Constructor Summary
StoreGateKeeperImpl(javax.mail.Store store)
           
 
Method Summary
 FolderGateKeeper getDefaultFolder()
           
 FolderGateKeeper getFolder(java.lang.String name)
           
 FolderGateKeeper[] list(java.lang.String string)
           
 void renameTo(FolderGateKeeper from, java.lang.String to)
           
 void setFolderAdapterFactory(FolderAdapterFactory folderFactory)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StoreGateKeeperImpl

public StoreGateKeeperImpl(javax.mail.Store store)
Method Detail

getFolder

public FolderGateKeeper getFolder(java.lang.String name)
                           throws javax.mail.MessagingException
Specified by:
getFolder in interface StoreGateKeeper
Throws:
javax.mail.MessagingException
See Also:
StoreGateKeeper.getFolder(java.lang.String)

getDefaultFolder

public FolderGateKeeper getDefaultFolder()
                                  throws javax.mail.MessagingException
Specified by:
getDefaultFolder in interface StoreGateKeeper
Throws:
javax.mail.MessagingException
See Also:
StoreGateKeeper.getDefaultFolder()

setFolderAdapterFactory

public void setFolderAdapterFactory(FolderAdapterFactory folderFactory)
Specified by:
setFolderAdapterFactory in interface StoreGateKeeper
See Also:
StoreGateKeeper.setFolderAdapterFactory(org.apache.james.mailrepository.javamail.FolderAdapterFactory)

list

public FolderGateKeeper[] list(java.lang.String string)
                        throws javax.mail.MessagingException
Specified by:
list in interface StoreGateKeeper
Throws:
javax.mail.MessagingException
See Also:
StoreGateKeeper.list(java.lang.String)

renameTo

public void renameTo(FolderGateKeeper from,
                     java.lang.String to)
              throws javax.mail.MessagingException
Specified by:
renameTo in interface StoreGateKeeper
Throws:
javax.mail.MessagingException
See Also:
StoreGateKeeper.renameTo(org.apache.james.mailrepository.javamail.FolderGateKeeper, java.lang.String)


Copyright ? 2002-2009 The Apache Software Foundation. All Rights Reserved.