mirror of
https://gitee.com/dromara/hutool.git
synced 2025-04-05 17:37:59 +08:00
add pptx ext name support
This commit is contained in:
parent
60a068db3f
commit
6b7b2f35b8
@ -7,6 +7,7 @@
|
||||
|
||||
### 🐣新特性
|
||||
* 【extra 】 mail增加writeTimeout参数支持(issue#2355@Github)
|
||||
* 【core 】 FileTypeUtil增加pptx扩展名支持(issue#I5A0GO@Gitee)
|
||||
### 🐞Bug修复
|
||||
* 【core 】 修复NumberUtil.isXXX空判断错误(issue#2356@Github)
|
||||
|
||||
|
@ -190,6 +190,9 @@ public class FileTypeUtil {
|
||||
} else if ("docx".equalsIgnoreCase(extName)) {
|
||||
// issue#I47JGH
|
||||
typeName = "docx";
|
||||
} else if ("pptx".equalsIgnoreCase(extName)) {
|
||||
// issue#I5A0GO
|
||||
typeName = "pptx";
|
||||
}
|
||||
}
|
||||
return typeName;
|
||||
|
Loading…
Reference in New Issue
Block a user