GroupDocsGists
10/24/2017 - 1:11 PM

usageconversionmanager.java

// For complete examples and data files, please go to https://github.com/groupdocs-conversion/GroupDocs.Conversion-for-Java
String sourceFileName = "sample.docx"; //Put the source filename here
String storagePath = ".";
ConversionManager manager = new ConversionManager(storagePath);
 
String result = manager.convert(sourceFileName);
System.out.println(result);