Class ComponentListManifest1

java.lang.Object
org.cdlib.mrt.s3.tools.ComponentListManifest1

public class ComponentListManifest1 extends Object
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

  • Field Details

  • 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