Package org.cdlib.mrt.s3.tools
Class CloudObjectList
java.lang.Object
org.cdlib.mrt.s3.tools.CloudObjectList
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
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCloudObjectList
(CloudStoreInf service, String container, org.cdlib.mrt.utility.LoggerInf logger) -
Method Summary
Modifier and TypeMethodDescriptionvoid
list
(org.cdlib.mrt.cloud.CloudList.CloudEntry entry) int
listObject
(String ark)
-
Field Details
-
NAME
- See Also:
-
MESSAGE
- See Also:
-
service
-
container
-
tFile
-
logger
protected org.cdlib.mrt.utility.LoggerInf logger -
showEntry
protected boolean showEntry
-
-
Constructor Details
-
CloudObjectList
public CloudObjectList(CloudStoreInf service, String container, org.cdlib.mrt.utility.LoggerInf logger) throws org.cdlib.mrt.utility.TException - Throws:
org.cdlib.mrt.utility.TException
-
-
Method Details
-
listObject
- Throws:
org.cdlib.mrt.utility.TException
-
list
public void list(org.cdlib.mrt.cloud.CloudList.CloudEntry entry) throws org.cdlib.mrt.utility.TException - Throws:
org.cdlib.mrt.utility.TException
-