| 
 | Jumpi v1.2.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
  |
  +--org.jumpi.impl.AbstractDestination
        |
        +--org.jumpi.impl.connector.email.EmailDestination
Destination managed by the EmailConnector, representing an Email address. 
 A client can use the EmailDestination to create MimeMessages, 
 see getMimeMessage().
| Field Summary | 
| Fields inherited from class org.jumpi.impl.AbstractDestination | 
| connector_, controller_, props_, url_, wildcard_ | 
| Fields inherited from interface org.jumpi.Destination | 
| PROTOCOL_SEPARATOR, SEPARATOR | 
| Constructor Summary | |
| EmailDestination(java.lang.String url,
                 Controller controller,
                 EmailConnector connector)Creates a new EmailDestination object, not related to any recipient. | |
| EmailDestination(java.lang.String url,
                 Controller controller,
                 EmailConnector connector,
                 javax.mail.internet.InternetAddress address)Creates a new EmailDestination object representing an Email addressee. | |
| Method Summary | |
|  javax.mail.internet.InternetAddress | getAddress()Returns the addressee. | 
|  javax.mail.internet.MimeMessage | getMimeMessage()Returns an empty MimeMessage which can be sent via the EmailConnector associated with this Destination. | 
|  java.lang.String | getUrl()Returns the normalized Url. | 
| Methods inherited from class org.jumpi.impl.AbstractDestination | 
| equals, getConnector, getController, getControllerName, getProperties, hashCode, isWildcard, matches, setProperties | 
| Methods inherited from class java.lang.Object | 
| clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
public EmailDestination(java.lang.String url,
                        Controller controller,
                        EmailConnector connector,
                        javax.mail.internet.InternetAddress address)
url - the Url, representing the url prefix of an EmailConnector.controller - the Controller instance managing the Connector.connector - the Connector instance.address - the recipient mail address.
public EmailDestination(java.lang.String url,
                        Controller controller,
                        EmailConnector connector)
url - the Url, representing the url prefix of an EmailConnector.controller - the Controller instance managing the Connector.connector - the Connector instance.| Method Detail | 
public java.lang.String getUrl()
getUrl in interface DestinationgetUrl in class AbstractDestinationpublic javax.mail.internet.InternetAddress getAddress()
public javax.mail.internet.MimeMessage getMimeMessage()
| 
 | Jumpi v1.2.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||