org.alfresco.repo.content.metadata
Class MailMetadataExtracter
java.lang.Object
org.alfresco.repo.content.metadata.AbstractMappingMetadataExtracter
org.alfresco.repo.content.metadata.TikaPoweredMetadataExtracter
org.alfresco.repo.content.metadata.MailMetadataExtracter
- All Implemented Interfaces:
- ContentWorker, MetadataExtracter
public class MailMetadataExtracter
- extends TikaPoweredMetadataExtracter
Outlook MAPI format email meta-data extractor extracting the following values:
sentDate: -- cm:sentdate
originator: -- cm:originator, cm:author
addressee: -- cm:addressee
addressees: -- cm:addressees
subjectLine: -- cm:subjectline, cm:description
toNames: --
ccNames: --
bccNames: --
TIKA note - to/cc/bcc go into the html part, not the metadata.
Also, email addresses not included as yet.
- Since:
- 2.1
Method Summary |
protected java.util.Map |
extractSpecific(org.apache.tika.metadata.Metadata metadata,
java.util.Map properties,
java.util.Map headers)
Allows implementation specific mappings
to be done. |
protected org.apache.tika.parser.Parser |
getParser()
Returns the correct Tika Parser to process
the document. |
Methods inherited from class org.alfresco.repo.content.metadata.AbstractMappingMetadataExtracter |
checkIsSupported, extract, extract, extract, filterSystemProperties, getDefaultMapping, getExtractionTime, getMapping, getMimetypeService, getReliability, init, isSupported, newRawMap, putRawValue, readMappingProperties, readMappingProperties, register, setDictionaryService, setFailOnTypeConversion, setInheritDefaultMapping, setMapping, setMappingProperties, setMimetypeService, setOverwritePolicy, setOverwritePolicy, setRegistry, setSupportedDateFormats, setSupportedMimetypes |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SUPPORTED_MIMETYPES
public static java.util.ArrayList SUPPORTED_MIMETYPES
MailMetadataExtracter
public MailMetadataExtracter()
getParser
protected org.apache.tika.parser.Parser getParser()
- Description copied from class:
TikaPoweredMetadataExtracter
- Returns the correct Tika Parser to process
the document.
If you don't know which you want, use
TikaAutoMetadataExtracter
which
makes use of the Tika auto-detection.
- Specified by:
getParser
in class TikaPoweredMetadataExtracter
extractSpecific
protected java.util.Map extractSpecific(org.apache.tika.metadata.Metadata metadata,
java.util.Map properties,
java.util.Map headers)
- Description copied from class:
TikaPoweredMetadataExtracter
- Allows implementation specific mappings
to be done.
- Overrides:
extractSpecific
in class TikaPoweredMetadataExtracter
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.