org.jenkinsci.plugins.pollmailboxtrigger.mail
Class MailReader

java.lang.Object
  extended by org.jenkinsci.plugins.pollmailboxtrigger.mail.Logger.HasLogger
      extended by org.jenkinsci.plugins.pollmailboxtrigger.mail.MailReader

public class MailReader
extends Logger.HasLogger

Allows us to read mail using the imap protocol.

Author:
Nick Grealy

Field Summary
 
Fields inherited from class org.jenkinsci.plugins.pollmailboxtrigger.mail.Logger.HasLogger
logger
 
Constructor Summary
MailReader(Logger logger, String host, String storeName, String username, String password, Properties properties)
           
 
Method Summary
 void close()
           
 MailReader connect()
           
 MailWrapperUtils.FolderWrapper folder(String folderName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MailReader

public MailReader(Logger logger,
                  String host,
                  String storeName,
                  String username,
                  String password,
                  Properties properties)
Method Detail

connect

public MailReader connect()
                   throws javax.mail.MessagingException
Throws:
javax.mail.MessagingException

folder

public MailWrapperUtils.FolderWrapper folder(String folderName)
                                      throws javax.mail.MessagingException
Throws:
javax.mail.MessagingException

close

public void close()


Copyright © 2004-2014. All Rights Reserved.