public class TikaPoweredContainerExtractor extends Object
Modifier and Type | Class and Description |
---|---|
static class |
TikaPoweredContainerExtractor.ExtractorActionExecutor
This action executor allows you to trigger extraction as an
action, perhaps from a rule.
|
Constructor and Description |
---|
TikaPoweredContainerExtractor() |
Modifier and Type | Method and Description |
---|---|
List<org.alfresco.service.cmr.repository.NodeRef> |
extract(org.alfresco.service.cmr.repository.NodeRef source,
List<String> mimetypes)
Extracts out all the entries from the container
that match the supplied list of mime types.
|
void |
setContentService(ContentService contentService)
Injects the contentService bean.
|
void |
setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
Injects the nodeService bean.
|
void |
setTikaConfig(org.apache.tika.config.TikaConfig tikaConfig)
Injects the TikaConfig to use
|
public void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
nodeService
- the nodeService.public void setContentService(ContentService contentService)
contentService
- the contentService.public void setTikaConfig(org.apache.tika.config.TikaConfig tikaConfig)
tikaConfig
- The Tika Config to usepublic List<org.alfresco.service.cmr.repository.NodeRef> extract(org.alfresco.service.cmr.repository.NodeRef source, List<String> mimetypes)
Copyright © 2005–2017 Alfresco Software. All rights reserved.