|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.funambol.mail.MIMEProcessor
public class MIMEProcessor
An object of this class is a parser that reads a string representing an email
message formatted as per RFC 2822 and MIME (RFC 2045, 2046 etc.) and returns
a Message
object ready to be stored in the device store (the
latter represented by implementations of the Store
interface)
Constructor Summary | |
---|---|
MIMEProcessor()
|
Method Summary | |
---|---|
Message |
parseMailMessage(com.funambol.util.ChunkedString msgbuf)
This method parses a text email message in RFC2822 format and builds Message object ready to be processed by the mail library. |
Message |
parseMailMessage(java.lang.String rfc2822)
This method parses a text email message formatted as per RFC 2822 and MIME specifications in order to build a Message object ready to be
processed by the mail library. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MIMEProcessor()
Method Detail |
---|
public Message parseMailMessage(java.lang.String rfc2822) throws MailException
Message
object ready to be
processed by the mail library.
rfc2822
- A String containing the entire email message coming from
a server and formatted as per RFC 2822 and MIME specifications
Message
object build with the information
retrieved from the original text representation of the email
message
MailException
public Message parseMailMessage(com.funambol.util.ChunkedString msgbuf) throws MailException
Message
object ready to be processed by the mail library.The message is passed in a ChunkedString, to limit the memory used by the processing of the message. See ChunkedString javadoc for more info.
rfc2822
- A ChunkedString containing the entire email message coming from
a server and formatted as per RFC 2822 and MIME specifications
Message
object build with the information
retrieved from the original text representation of the email
message
MailException
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |