xlsx格式的excel可以通过下面获取属性
XlsxReadWorkbookHolder workbookHolder = (XlsxReadWorkbookHolder) excelReader.analysisContext().readWorkbookHolder();
String categoryProperty = workbookHolder.getOpcPackage().getPackageProperties().getCategoryProperty().orElse(null);
但是xls格式的excel怎么获取文件的属性?
1条答案
按热度按时间ou6hu8tu1#