Outlook email messages (in OLE2 .msg format) now converted to text for full-text indexing.

JUnit test for new transformer class.
Added new test to ContentTestSuite.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5951 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Kevin Roast
2007-06-14 10:51:51 +00:00
parent ede9345a5b
commit 04a78f17d2
11 changed files with 316 additions and 5 deletions

View File

@@ -102,11 +102,12 @@ public class MailMetadataExtracter extends AbstractMetadataExtracter
catch (IOException err)
{
// probably not an Outlook format MSG - ignore for now
logger.warn("Unable to extract meta-data from message: " + err.getMessage());
if (logger.isWarnEnabled())
logger.warn("Unable to extract meta-data from message: " + err.getMessage());
}
// store multi-value extracted property
if (receipientEmails.get().size() != 0)
if (this.receipientEmails.get().size() != 0)
{
destination.put(ContentModel.PROP_ADDRESSEES, (Serializable)receipientEmails.get());
}