密钥库、信任库和证书之间有什么关系?这些工具是否属于某些软件专有?我可以获得哪些文献来获取有关这些工具的更多信息以及如何在更广泛的背景下使用它们?
谢谢!
我正在开发一个应用程序,该应用程序获取数据库记录并从该数据创建 Excel 文档。
excel文档生成良好,所有数据可读;截至本论坛之前的回答,该表也已正确生成(即使我滚动过去,标题行仍然可见,因此该表肯定存在)。但是,我原以为一旦有了表格,我就能够对列进行排序和过滤,就像在 Excel 中“插入 -> 表”时的情况一样,但是当我打开文档时没有这样的选项。
我在 XSSFTable 或 XSSFTableColumn 类上没有看到 setFitlerable 或 setSortable 或类似的内容...如何在表列上启用排序/过滤?
如果有用的话,表创建代码如下:
//Create table
CellReference topLeft = new CellReference(sheet.getRow(3).getCell(0));
CellReference bottomRight = new CellReference(sheet.getRow(nextRow-1).getCell(3));
AreaReference tableArea = workbook.getCreationHelper().createAreaReference(topLeft, bottomRight);
XSSFTable dataTable = sheet.createTable(tableArea);
dataTable.setName("TableData" + EXCEL_OBJECT_NUMBER);
dataTable.setDisplayName("TableData" + EXCEL_OBJECT_NUMBER);
XSSFTableColumn column = dataTable.getColumns().get(0);
column.setId(1);
column.setName("COLUMN1");
column = dataTable.getColumns().get(1);
column.setId(2);
column.setName("COLUMN2");
column = dataTable.getColumns().get(2);
column.setId(3);
column.setName("COLUMN3");
column = dataTable.getColumns().get(3);
column.setId(4);
column.setName("COLUMN4");
Run Code Online (Sandbox Code Playgroud) apache-poi ×1
certificate ×1
excel ×1
excel-tables ×1
java ×1
keystore ×1
ssl ×1
truststore ×1
xssf ×1