Class CloudObjectDeleteList

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

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

    • NAME

      protected static final String NAME
      See Also:
    • MESSAGE

      protected static final String MESSAGE
      See Also:
    • log4j

      protected static final org.apache.logging.log4j.Logger log4j
    • cod

      protected CloudObjectDelete cod
    • deleteFile

      protected File deleteFile
    • br

      protected BufferedReader br
    • logger

      protected org.cdlib.mrt.utility.LoggerInf logger
    • maxout

      protected int maxout
    • fileCnt

      protected int fileCnt
    • deleteCnt

      protected int deleteCnt
  • Constructor Details

    • CloudObjectDeleteList

      public CloudObjectDeleteList(CloudStoreInf service, String container, File deleteFile, org.cdlib.mrt.utility.LoggerInf logger) throws org.cdlib.mrt.utility.TException
      Throws:
      org.cdlib.mrt.utility.TException
  • Method Details

    • main

      public static void main(String[] args) throws org.cdlib.mrt.utility.TException
      Throws:
      org.cdlib.mrt.utility.TException
    • process

      public void process() throws org.cdlib.mrt.utility.TException
      Throws:
      org.cdlib.mrt.utility.TException
    • processDelete

      public void processDelete(String arkS) throws org.cdlib.mrt.utility.TException
      Throws:
      org.cdlib.mrt.utility.TException