Package org.jets3t.tests
Class FakeS3Server
java.lang.Object
org.jets3t.tests.FakeS3Server
Very basic implementation of an S3 server-side stub that can fake certain S3 interactions
including:
- Logging in using S3-stored credentials (passphrase/password=please/please)
- Listing buckets
- Listing the contents of an empty bucket
- Allowing for PUT uploads, with generation and comparison of an MD5 digest for data received
- Author:
- James Murty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
static String
toHex
(byte[] data) static void
writeFileToOutputStream
(File file, OutputStream out)