@@ -0,0 +1,798 @@
+import java.io.File;%0Aimport java.io.FileNotFoundException;%0Aimport java.io.PrintWriter;%0Aimport com.ibm.watson.developer_cloud.document_conversion.v1.DocumentConversion;%0Aimport com.ibm.watson.developer_cloud.document_conversion.v1.model.Answers;%0A%0Apublic class convert %7B%0A%09public static void convert(String fileName)%7B%0A%09%09File resume = new File(fileName);%0A%09%09DocumentConversion service = new DocumentConversion(%222015-12-01%22,%22f9b79c9f-8a20-4a1f-aaa7-310d74edb32c%22, %22vbPJHMIMOJYw%22);%0A%09%09String%5B%5D outFile = fileName.split(%22%5C%5C.%22);%0A%09%09String outName = outFile%5B0%5D + %22.json%22;%0A%09%09Answers text = service.convertDocumentToAnswer(resume).execute();%0A%09%09try %7B%0A%09%09%09PrintWriter output = new PrintWriter(outName);%0A%09%09%09output.print(text);%0A%09%09%09output.close();%0A%09%09%7D catch (FileNotFoundException e) %7B%0A%09%09%09e.printStackTrace();%0A%09%09%7D%0A%09%7D%0A%7D%0A

Create convert.java