|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opencrx.application.mail.importer.SimpleMimeMessage
public class SimpleMimeMessage
Helper class to provide a more simple access to the regularly used attributes of a mime message for importing emails.
| Constructor Summary | |
|---|---|
SimpleMimeMessage(MimeMessage theMessage)
Constructor |
|
| Method Summary | |
|---|---|
boolean |
containsNestedMessage()
Checks whether the message contains binary attachments. |
Collection |
getBinaryContents()
Returns a collection of the binary attachments or null if the message does not contain any. |
MimeMessage |
getMimeMessage()
|
String |
getSubject()
Extracts the subject of the message and cache it locally. |
void |
markAsDeleted()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleMimeMessage(MimeMessage theMessage)
throws MessagingException,
IOException,
ServiceException
theMessage - the MimeMessage which has to be wrapped
MessagingException
IOException
ServiceException| Method Detail |
|---|
public MimeMessage getMimeMessage()
public String getSubject()
throws MessagingException
MessagingExceptionpublic boolean containsNestedMessage()
public Collection getBinaryContents()
public void markAsDeleted()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||