Class CloudCloudCopy

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

public class CloudCloudCopy 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

    • CloudCloudCopy

      public CloudCloudCopy(CloudStoreInf inService, String inContainer, CloudStoreInf outService, String outContainer) throws org.cdlib.mrt.utility.TException
      Throws:
      org.cdlib.mrt.utility.TException
    • CloudCloudCopy

      public CloudCloudCopy(CloudStoreInf inService, String inContainer, CloudStoreInf outService, String outContainer, File tFile) throws org.cdlib.mrt.utility.TException
      Throws:
      org.cdlib.mrt.utility.TException
  • Method Details

    • copy

      public CloudResponse copy(org.cdlib.mrt.cloud.CloudList.CloudEntry entry) throws org.cdlib.mrt.utility.TException
      Throws:
      org.cdlib.mrt.utility.TException
    • copyObject

      public void copyObject(String ark) throws org.cdlib.mrt.utility.TException
      Throws:
      org.cdlib.mrt.utility.TException
    • close

      public void close()
    • setShowEntry

      public void setShowEntry(boolean showEntry)