// For complete examples and data files, please go to https://github.com/groupdocs-conversion/GroupDocs.Conversion-for-Java
// Instantiating the conversion handler, you can define absolute file
// path in utilities class
ConversionHandler conversionHandler = new ConversionHandler(Utilities.getConfiguration());
HtmlSaveOptions saveOption = new HtmlSaveOptions();
saveOption.setOutputType(OutputType.String);
// Set absolute path to file
String guid = "C:/Storage/DOCXsample.docx";
String convertedDocumentPath = conversionHandler.<String> convert(guid, saveOption);
System.out.print("Converted file path is: " + convertedDocumentPath);