Package org.cdlib.mrt.s3.tools
Class CloudObjectDeleteList
java.lang.Object
org.cdlib.mrt.s3.tools.CloudObjectDeleteList
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 Summary
FieldsModifier and TypeFieldDescriptionprotected BufferedReader
protected CloudObjectDelete
protected int
protected File
protected int
protected org.cdlib.mrt.utility.LoggerInf
protected int
protected static final String
protected static final String
-
Constructor Summary
ConstructorsConstructorDescriptionCloudObjectDeleteList
(CloudStoreInf service, String container, File deleteFile, org.cdlib.mrt.utility.LoggerInf logger) -
Method Summary
-
Field Details
-
NAME
- See Also:
-
MESSAGE
- See Also:
-
cod
-
deleteFile
-
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
- Throws:
org.cdlib.mrt.utility.TException
-
process
public void process() throws org.cdlib.mrt.utility.TException- Throws:
org.cdlib.mrt.utility.TException
-
processDelete
- Throws:
org.cdlib.mrt.utility.TException
-