- createBucket
- putObject
- getObject
- listObjects
- deleteObject
- deleteBucket
https://docs.google.com/document/pub?id=1D9nPJKkYsiykVsvOTGGHJTXa2a-KmXCOYCa0kRUxxIc
copy and paste the code into a file named SampleS3.java under a package named amazonpack.
In order to run the SampleS3 java class you should include in your classpath the following jars
aws-java-sdk-1.1.1.jar
aws-java-sdk-1.1.1-javadoc.jar
aws-java-sdk-1.1.1-sources.jar
commons-codec-1.3.jar
commons-discovery-0.2.jar
commons-httpclient-3.0.1.jar
commons-logging.jar
commons-logging-1.1.1.jar
jackson-core-asl-1.4.3.jar
jaxrpc.jar
These can be found on AWS SDK for Java that can be downloaded from here
http://aws.amazon.com/eclipse/
Δεν υπάρχουν σχόλια:
Δημοσίευση σχολίου