|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jasen.core.parsers.StandardMimeMessageParser
A simple implementation of a mime message parser.
This is the default parser used by JASEN, however implementors may consider creating their own
| Constructor Summary | |
StandardMimeMessageParser()
|
|
| Method Summary | |
javax.mail.internet.InternetAddress |
getFromSafe(javax.mail.internet.MimeMessage mm)
"Safely" gets the from header. |
JasenMessage |
parse(javax.mail.internet.MimeMessage mm)
Parses the given MimeMessage and extracts all the relevant parts |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public StandardMimeMessageParser()
| Method Detail |
public JasenMessage parse(javax.mail.internet.MimeMessage mm)
throws JasenParseException
MimeMessageParser
parse in interface MimeMessageParsermm -
JasenParseExceptionJasenMessage
public javax.mail.internet.InternetAddress getFromSafe(javax.mail.internet.MimeMessage mm)
throws javax.mail.MessagingException
mm -
javax.mail.MessagingException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||