|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.alfresco.repo.content.transform.TikaPoweredContainerExtractor
public class TikaPoweredContainerExtractor
Warning - this is a prototype service, and will likely change dramatically in Alfresco 4.0! This proto-service provides a way to have Apache Tika extract out certain kinds of embedded resources from within a container file. One use might be to extract all the images in a zip file, another might be to fetch all the Word Documents embedded in an Excel Spreadsheet. Uses the Apache Tika ContainerExtractor framework, along with the Apache Tika Auto-Parser. Not sprung-in by default, you will need to manually list this in an extension context file.
| Nested Class Summary | |
|---|---|
static class |
TikaPoweredContainerExtractor.ExtractorActionExecutor
This action executor allows you to trigger extraction as an action, perhaps from a rule. |
| Constructor Summary | |
|---|---|
TikaPoweredContainerExtractor()
|
|
| Method Summary | |
|---|---|
java.util.List |
extract(org.alfresco.service.cmr.repository.NodeRef source,
java.util.List 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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TikaPoweredContainerExtractor()
| Method Detail |
|---|
public void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
nodeService - the nodeService.public void setContentService(ContentService contentService)
contentService - the contentService.
public java.util.List extract(org.alfresco.service.cmr.repository.NodeRef source,
java.util.List mimetypes)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||