com.extrememessaging.ResponseMaster
Class MailboxConnectionInfo
java.lang.Object
com.extrememessaging.ResponseMaster.MailboxConnectionInfo
- public class MailboxConnectionInfo
- extends java.lang.Object
Encapsulates the settings required to connection to a mailbox: protocol, username, ...
|
Method Summary |
javax.mail.Folder |
GetFolder()
Get the folder specified by the connection info |
java.lang.String |
GetSubfolderName()
|
void |
ReadFromNode(org.w3c.dom.Element oMailboxElement,
java.lang.String sConfigFileName)
Initialize the mailbox connection info |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MailboxConnectionInfo
public MailboxConnectionInfo()
GetSubfolderName
public java.lang.String GetSubfolderName()
ReadFromNode
public void ReadFromNode(org.w3c.dom.Element oMailboxElement,
java.lang.String sConfigFileName)
throws ResponseMasterException
- Initialize the mailbox connection info
- Parameters:
oMailboxElement - The xml dom node to read the mailbox config fromsConfigFileName - The config file that the node is from...this is used to load relative paths.
- Throws:
Throws - a ResponseMasterException if there is a problem
ResponseMasterException
GetFolder
public javax.mail.Folder GetFolder()
throws javax.mail.MessagingException
- Get the folder specified by the connection info
- Throws:
javax.mail.MessagingException