public class AmazonS3DocumentProcessUtility
extends java.lang.Object
| Constructor and Description |
|---|
AmazonS3DocumentProcessUtility() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addAllMetaData(org.apache.manifoldcf.agents.interfaces.RepositoryDocument rd,
org.apache.tika.metadata.Metadata metadata2)
Adds available meta data to repository documetn
|
protected void |
addRawMetadata(org.apache.manifoldcf.agents.interfaces.RepositoryDocument rd,
com.amazonaws.services.s3.model.ObjectMetadata objectMetadata) |
protected java.lang.String |
getDocumentURI(S3Artifact s3Artifact)
Constructs document URI for s3artifact
|
protected S3Artifact |
getS3Artifact(java.lang.String documentIdentifier)
Get the s3artifact (document) using the document identifier ( bucket,key)
|
protected java.lang.String[] |
getUsers(java.util.Set<com.amazonaws.services.s3.model.Grant> grants)
Get users has the the access the to artifact
|
protected java.lang.String[] getUsers(java.util.Set<com.amazonaws.services.s3.model.Grant> grants)
grants - available for artifactprotected java.lang.String getDocumentURI(S3Artifact s3Artifact)
s3Artifact - protected void addAllMetaData(org.apache.manifoldcf.agents.interfaces.RepositoryDocument rd,
org.apache.tika.metadata.Metadata metadata2)
throws org.apache.manifoldcf.core.interfaces.ManifoldCFException
rd - repository documentmetadata2 - org.apache.manifoldcf.core.interfaces.ManifoldCFExceptionprotected S3Artifact getS3Artifact(java.lang.String documentIdentifier) throws org.apache.manifoldcf.core.interfaces.ManifoldCFException
documentIdentifier - org.apache.manifoldcf.core.interfaces.ManifoldCFExceptionprotected void addRawMetadata(org.apache.manifoldcf.agents.interfaces.RepositoryDocument rd,
com.amazonaws.services.s3.model.ObjectMetadata objectMetadata)