|
@@ -38,7 +38,7 @@ public class ExcelUtil {
|
|
|
}
|
|
|
|
|
|
public static boolean isZip(String filePath) {
|
|
|
- return filePath.endsWith("zip") || filePath.endsWith("ZIP") || filePath.endsWith("rar") || filePath.endsWith("RAR");
|
|
|
+ return filePath.endsWith("zip") || filePath.endsWith("ZIP");
|
|
|
}
|
|
|
|
|
|
public static Sheet getSheet(File file, int sheetIndex) {
|