|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.funambol.email.items.manager.MessageParser
public class MessageParser
This class is used in order to create a list of the Part of the single email. in the list there will be InternalPart items. this class is an helper for the EntityManagerFilter class
Field Summary | |
---|---|
protected static com.funambol.framework.logging.FunambolLogger |
log
|
Constructor Summary | |
---|---|
MessageParser()
|
Method Summary | |
---|---|
static java.util.ArrayList |
getAllPartsOfMessage(javax.mail.Message msg)
this method returns always a list of part |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static com.funambol.framework.logging.FunambolLogger log
Constructor Detail |
---|
public MessageParser()
Method Detail |
---|
public static java.util.ArrayList getAllPartsOfMessage(javax.mail.Message msg)
if the javaMail fails to get the main content the method returns a default InternalPart with the "CONTENT_BODY_ALERT" as the body value.
if the javaMail fails to get the single parts of the email the method check if it can return some parts. if no parts is taken the method return a default InternalPart with the "CONTENT_BODY_ALERT" as the body value.
msg
- Messagelist
- of email parts ArrayList
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |