// For complete examples and data files, please go to https://github.com/groupdocs-conversion/GroupDocs.Conversion-for-Java
ConversionConfig conversionConfig = Utilities.getConfiguration();
ConversionHandler conversionHandler = new ConversionHandler(conversionConfig);
FileInputStream fileStream = new FileInputStream(conversionConfig.getStoragePath() + "/" + sourceFileName);
String[] possibleConversions = conversionHandler.getPossibleConversions(fileStream);
System.out.print("Possible conversions: " + possibleConversions);