Class GenericDocumentProcess
- java.lang.Object
-
- org.apache.manifoldcf.crawler.connectors.amazons3.AmazonS3DocumentProcessUtility
-
- org.apache.manifoldcf.crawler.connectors.amazons3.GenericDocumentProcess
-
- All Implemented Interfaces:
DocumentProcess
public class GenericDocumentProcess extends AmazonS3DocumentProcessUtility implements DocumentProcess
Generic amazons3 extractor- Author:
- Kuhajeyan
-
-
Constructor Summary
Constructors Constructor Description GenericDocumentProcess()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddoProcessDocument(java.lang.String[] documentIdentifiers, org.apache.manifoldcf.crawler.interfaces.IExistingVersions statuses, org.apache.manifoldcf.core.interfaces.Specification spec, org.apache.manifoldcf.crawler.interfaces.IProcessActivity activities, int jobMode, boolean usesDefaultAuthority, com.amazonaws.services.s3.AmazonS3 amazons3Client)Process documents with out any tika extractorprotected static voidhandleClientException(com.amazonaws.AmazonClientException e)protected static voidhandleIOException(java.io.IOException e)protected static voidhandleServiceException(com.amazonaws.AmazonServiceException e)-
Methods inherited from class org.apache.manifoldcf.crawler.connectors.amazons3.AmazonS3DocumentProcessUtility
addAllMetaData, addRawMetadata, getDocumentURI, getS3Artifact, getUsers
-
-
-
-
Method Detail
-
doProcessDocument
public void doProcessDocument(java.lang.String[] documentIdentifiers, org.apache.manifoldcf.crawler.interfaces.IExistingVersions statuses, org.apache.manifoldcf.core.interfaces.Specification spec, org.apache.manifoldcf.crawler.interfaces.IProcessActivity activities, int jobMode, boolean usesDefaultAuthority, com.amazonaws.services.s3.AmazonS3 amazons3Client) throws org.apache.manifoldcf.core.interfaces.ManifoldCFException, org.apache.manifoldcf.agents.interfaces.ServiceInterruptionProcess documents with out any tika extractor- Specified by:
doProcessDocumentin interfaceDocumentProcess- Parameters:
documentIdentifiers-statuses-spec-activities-jobMode-usesDefaultAuthority-amazons3Client-- Throws:
org.apache.manifoldcf.core.interfaces.ManifoldCFExceptionorg.apache.manifoldcf.agents.interfaces.ServiceInterruption
-
handleIOException
protected static void handleIOException(java.io.IOException e) throws org.apache.manifoldcf.core.interfaces.ManifoldCFException, org.apache.manifoldcf.agents.interfaces.ServiceInterruption- Throws:
org.apache.manifoldcf.core.interfaces.ManifoldCFExceptionorg.apache.manifoldcf.agents.interfaces.ServiceInterruption
-
handleServiceException
protected static void handleServiceException(com.amazonaws.AmazonServiceException e) throws org.apache.manifoldcf.core.interfaces.ManifoldCFException, org.apache.manifoldcf.agents.interfaces.ServiceInterruption- Throws:
org.apache.manifoldcf.core.interfaces.ManifoldCFExceptionorg.apache.manifoldcf.agents.interfaces.ServiceInterruption
-
handleClientException
protected static void handleClientException(com.amazonaws.AmazonClientException e) throws org.apache.manifoldcf.core.interfaces.ManifoldCFException, org.apache.manifoldcf.agents.interfaces.ServiceInterruption- Throws:
org.apache.manifoldcf.core.interfaces.ManifoldCFExceptionorg.apache.manifoldcf.agents.interfaces.ServiceInterruption
-
-