Package org.cdlib.mrt.s3.tools
Class NodeIOList
java.lang.Object
org.cdlib.mrt.s3.tools.NodeIOList
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 Stringprotected BufferedReaderprotected intprotected intprotected Fileprotected longprotected longprotected longprotected org.cdlib.mrt.utility.LoggerInfprotected intprotected static final Stringprotected static final Stringprotected NodeIOprotected longprotected longprotected long -
Constructor Summary
ConstructorsConstructorDescriptionNodeIOList(String nodeName, String base, File getListFile, org.cdlib.mrt.utility.LoggerInf logger) -
Method Summary
Modifier and TypeMethodDescriptionvoidgetStoreFile(String storageURLS, File outFile) static voidvoidprocess()voidprocessGet(String urlS, File outFile) voidprocessGetIO(String urlS, File outFile) voidprocessGetStore(String urlS, File outFile)
-
Field Details
-
NAME
- See Also:
-
MESSAGE
- See Also:
-
nio
-
getListFile
-
br
-
logger
protected org.cdlib.mrt.utility.LoggerInf logger -
base
-
maxout
protected int maxout -
fileCnt
protected int fileCnt -
getCnt
protected int getCnt -
timeNode
protected long timeNode -
lengthNode
protected long lengthNode -
timeIO
protected long timeIO -
lengthIO
protected long lengthIO -
timeStore
protected long timeStore -
lengthStore
protected long lengthStore
-
-
Constructor Details
-
Method Details
-
main
- Throws:
Exception
-
process
public void process() throws org.cdlib.mrt.utility.TException- Throws:
org.cdlib.mrt.utility.TException
-
processGet
- Throws:
org.cdlib.mrt.utility.TException
-
processGetIO
- Throws:
org.cdlib.mrt.utility.TException
-
processGetStore
- Throws:
org.cdlib.mrt.utility.TException
-
getStoreFile
- Throws:
org.cdlib.mrt.utility.TException
-