|
Jive Forums API (5.5.8) Developer Javadocs | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface InboundMessage
Simplified view of an email message which allows access only to message elements needed by the system.
| Method Summary | |
|---|---|
java.util.Iterator |
getAttachments()
Returns the attachments as an Iterator of AttachmentData. |
java.lang.String |
getBody()
Returns the body text of the message. |
javax.mail.Address[] |
getFrom()
Returns the sender addresses. |
java.lang.String[] |
getHeader(java.lang.String headerName)
Returns the header values corresponding to the supplied header name. |
java.util.Iterator |
getHeaders()
Returns the headers sent with the message as an Iterator of strings. |
java.lang.String |
getSubject()
Returns the subject text of the message. |
| Method Detail |
|---|
java.lang.String getSubject()
throws javax.mail.MessagingException
javax.mail.MessagingException - if a server communication error occurs.
java.lang.String getBody()
throws javax.mail.MessagingException,
java.io.IOException,
EmailMonitorException
javax.mail.MessagingException - if a server communication error occurs.
java.io.IOException - if a server communication error occurs.
EmailMonitorException - if the body is an unhandled content type.
javax.mail.Address[] getFrom()
throws javax.mail.MessagingException
javax.mail.MessagingException - if a server communication error occurs.
java.util.Iterator getAttachments()
throws javax.mail.MessagingException,
java.io.IOException
Iterator of AttachmentData.
Iterator of AttachmentData.
javax.mail.MessagingException - if a server communication error occurs.
java.io.IOException - if a server communication error occurs.
java.util.Iterator getHeaders()
throws javax.mail.MessagingException
Iterator of strings.
Iterator of strings.
javax.mail.MessagingException - if a server communication error occurs.
java.lang.String[] getHeader(java.lang.String headerName)
throws javax.mail.MessagingException
headerName - the name to supply values for. *
javax.mail.MessagingException - if a server communication error occurs.
|
Jive Forums Project Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||