// For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Java public class FilePathProvider { // Gets the full path of the file by worksheet name when exporting worksheet to html separately. // So the references among the worksheets could be exported correctly. public String getFullName(String sheetName) { String dataDir = Utils.getDataDir(FilePathProvider.class); if ("Sheet2".equals(sheetName)) { return dataDir + "Sheet2.html"; } else if ("Sheet3".equals(sheetName)) { return dataDir + "Sheet3.html"; } return ""; } }