public class ExcelFileUtil extends Object
Constructor and Description |
---|
ExcelFileUtil() |
Modifier and Type | Method and Description |
---|---|
static boolean |
isXls(InputStream in)
|
static boolean |
isXlsx(File file)
是否为XLSX格式的Excel文件(XSSF)
XLSX文件主要用于Excel 2007+创建 |
static boolean |
isXlsx(InputStream in)
|
public static boolean isXls(InputStream in)
in
- excel输入流public static boolean isXlsx(InputStream in)
in
- excel输入流public static boolean isXlsx(File file)
file
- excel文件Copyright © 2024. All rights reserved.