Package org.cdlib.mrt.s3.tools
Class CloudObjectListList
java.lang.Object
org.cdlib.mrt.s3.tools.CloudObjectListList
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 CloudObjectList
protected int
protected int
protected int
protected int
protected File
protected org.cdlib.mrt.utility.LoggerInf
protected int
protected static final String
protected static final String
-
Constructor Summary
ConstructorsConstructorDescriptionCloudObjectListList
(CloudStoreInf service, String container, File listFile, org.cdlib.mrt.utility.LoggerInf logger) -
Method Summary
-
Field Details
-
NAME
- See Also:
-
MESSAGE
- See Also:
-
col
-
listFile
-
br
-
logger
protected org.cdlib.mrt.utility.LoggerInf logger -
maxout
protected int maxout -
fileCnt
protected int fileCnt -
listCnt
protected int listCnt -
itemCnt
protected int itemCnt -
lineCnt
protected int lineCnt
-
-
Constructor Details
-
CloudObjectListList
public CloudObjectListList(CloudStoreInf service, String container, File listFile, 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
-
processList
- Throws:
org.cdlib.mrt.utility.TException
-