Package org.cdlib.mrt.s3.tools
Class ComponentListManifest1
java.lang.Object
org.cdlib.mrt.s3.tools.ComponentListManifest1
This sample demonstrates how to make basic requests to Amazon S3 using
the AWS SDK for Java.
Prerequisites: You must have a valid Amazon Web Services developer account, and be signed up to use Amazon S3. For more information on Amazon S3, see http://aws.amazon.com/s3.
Important: Be sure to fill in your AWS access credentials in the AwsCredentials.properties file before you try to run this sample. http://aws.amazon.com/security-credentials
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected String
protected CloudStoreInf
protected org.cdlib.mrt.utility.LoggerInf
protected static final String
protected static final String
protected String
-
Constructor Summary
ConstructorsConstructorDescriptionComponentListManifest1
(String storageClass, CloudStoreInf inService, String inContainer, org.cdlib.mrt.utility.LoggerInf logger) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addManifest
(String arkS, org.cdlib.mrt.cloud.CloudList cloudList) org.cdlib.mrt.cloud.CloudList
buildCloudList
(String arkS) protected org.cdlib.mrt.cloud.VersionMap
getVersionMap
(org.cdlib.mrt.core.Identifier objectID) Get version content information from a specific manifext.txt
-
Field Details
-
NAME
- See Also:
-
MESSAGE
- See Also:
-
inService
-
inContainer
-
storageClass
-
logger
protected org.cdlib.mrt.utility.LoggerInf logger
-
-
Constructor Details
-
ComponentListManifest1
public ComponentListManifest1(String storageClass, CloudStoreInf inService, String inContainer, org.cdlib.mrt.utility.LoggerInf logger) throws org.cdlib.mrt.utility.TException - Throws:
org.cdlib.mrt.utility.TException
-
-
Method Details
-
buildCloudList
public org.cdlib.mrt.cloud.CloudList buildCloudList(String arkS) throws org.cdlib.mrt.utility.TException - Throws:
org.cdlib.mrt.utility.TException
-
addManifest
protected void addManifest(String arkS, org.cdlib.mrt.cloud.CloudList cloudList) throws org.cdlib.mrt.utility.TException - Throws:
org.cdlib.mrt.utility.TException
-
getVersionMap
protected org.cdlib.mrt.cloud.VersionMap getVersionMap(org.cdlib.mrt.core.Identifier objectID) throws org.cdlib.mrt.utility.TException Get version content information from a specific manifext.txt- Parameters:
versionFile
- manifest file- Returns:
- Version file content
- Throws:
org.cdlib.mrt.utility.TException
-