|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.silverpeas.mail.MsgMailExtractorTest
@ContextConfiguration(locations="/spring-mail-extractor.xml") public class MsgMailExtractorTest
User: Yohann Chastagnier Date: 21/01/13
| Constructor Summary | |
|---|---|
MsgMailExtractorTest()
|
|
| Method Summary | |
|---|---|
protected static Date |
extractDateOfReception(org.apache.poi.hsmf.MAPIMessage msg)
Extracts the reception date from an email. |
protected String |
getMessageBody(org.apache.poi.hsmf.MAPIMessage msg)
Gets the message from email. |
protected static Date |
getMessageDate(org.apache.poi.hsmf.MAPIMessage msg)
Gets the reception date of email. |
protected String |
getRtfText(String rtfText)
Gets readable string from RTF text. |
void |
readMailWithAttachmentsMSG()
This unit test is support for MSG exploration solution testing. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MsgMailExtractorTest()
| Method Detail |
|---|
public void readMailWithAttachmentsMSG()
throws Exception
Exception
protected String getMessageBody(org.apache.poi.hsmf.MAPIMessage msg)
throws Exception
msg -
Exception
protected String getRtfText(String rtfText)
throws Exception
rtfText -
Exception
protected static Date getMessageDate(org.apache.poi.hsmf.MAPIMessage msg)
throws Exception
msg -
Exception
protected static Date extractDateOfReception(org.apache.poi.hsmf.MAPIMessage msg)
throws Exception
msg -
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||