org.jets3t.tests
Class FakeS3Server

java.lang.Object
  extended by org.jets3t.tests.FakeS3Server

public class FakeS3Server
extends java.lang.Object

Very basic implementation of an S3 server-side stub that can fake certain S3 interactions including:


Constructor Summary
FakeS3Server()
           
 
Method Summary
static void main(java.lang.String[] args)
           
static java.lang.String toHex(byte[] data)
           
static void writeFileToOutputStream(java.io.File file, java.io.OutputStream out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FakeS3Server

public FakeS3Server()
Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Parameters:
args -
Throws:
java.lang.Exception

writeFileToOutputStream

public static void writeFileToOutputStream(java.io.File file,
                                           java.io.OutputStream out)
                                    throws java.lang.Exception
Throws:
java.lang.Exception

toHex

public static java.lang.String toHex(byte[] data)