package com.bizbeam.s3.uploader;

public class Main {
	public static void main (String args[]) {
		System.out.println ("Hello World!");
	}
}

@@ -31,111 +31,987 @@
 r;%0A%0A
-public class Main %7B%0A%09public static void main (String args%5B%5D) %7B%0A%09%09System.out.println (%22Hello World!
+import org.apache.log4j.Logger;%0A%0Aimport java.io.File;%0A%0Apublic class Main %7B%0A%0A    private static String AWSAccessKeyId= %22SAMPLESAMPLESAMPLE%22;%0A    private static String AWSSecretKey=%222SamPleSample3456SaMpleSample3578SampleSaMpLe%22;%0A    private static String AWSBucketName = %22bizbeamtest%22;%0A    private static String FILE_PREFIX_PATH = %22app/src/main/resources%22;%0A%0A%09public static void main (String args%5B%5D) %7B%0A%0A        try %7B%0A            System.out.println (%22Initializing connector...%22);%0A            S3Connector s3Connector = new S3Connector(AWSBucketName, AWSAccessKeyId, AWSSecretKey);%0A            s3Connector.initialize();%0A%0A            //put two files%0A            s3Connector.uploadFile(new File(FILE_PREFIX_PATH, %22AdobeXMLFormsSamples.pdf
 %22)
+)
 ;%0A
-%09%7D
+            s3Connector.uploadFile(new File(FILE_PREFIX_PATH, %22nature-wallpaper-27.jpg%22));%0A%0A        %7D catch (Exception exc) %7B%0A            LOGGER.error(exc);%0A        %7D%0A    %7D%0A%0A    private static final Logger LOGGER = Logger.getLogger(Main.class);
 %0A%7D%0A

send sample files