com.atlassian.confluence.plugins.emailgateway.polling
Interface FolderUtils.FolderWorker<T>

Enclosing class:
FolderUtils

public static interface FolderUtils.FolderWorker<T>


Method Summary
 T doWithFolder(javax.mail.Folder folder)
           
 javax.mail.Session getMailSession()
           
 javax.mail.Folder openFolder(javax.mail.Store store)
           
 

Method Detail

openFolder

javax.mail.Folder openFolder(javax.mail.Store store)
                             throws javax.mail.MessagingException
Throws:
javax.mail.MessagingException

doWithFolder

T doWithFolder(javax.mail.Folder folder)
               throws javax.mail.MessagingException
Throws:
javax.mail.MessagingException

getMailSession

javax.mail.Session getMailSession()
                                  throws com.atlassian.mail.MailException,
                                         javax.mail.MessagingException
Throws:
com.atlassian.mail.MailException
javax.mail.MessagingException


Copyright © 2003-2014 Atlassian. All Rights Reserved.