yangys
2024-05-19 9e5da8899bc21bb5b6b0a3c267108caa00199291
smart-core-boot/src/main/java/com/qianwen/core/boot/file/BladeFileUtil.java
@@ -8,7 +8,6 @@
import com.qianwen.core.tool.utils.StringUtil;
import org.springframework.web.multipart.MultipartFile;
/* loaded from: blade-core-boot-9.3.0.0-SNAPSHOT.jar:org/springblade/core/boot/file/BladeFileUtil.class */
public class BladeFileUtil {
    private static final String IS_DIR = "is_dir";
    private static final String FILE_NAME = "filename";
@@ -34,7 +33,7 @@
        return StringUtil.isNotBlank(ext) && (ext.contains(fileExt.toLowerCase()) || ext.contains(fileExt.toUpperCase()));
    }
    /* loaded from: blade-core-boot-9.3.0.0-SNAPSHOT.jar:org/springblade/core/boot/file/BladeFileUtil$FileSort.class */
    public enum FileSort {
        size,
        type,
@@ -49,7 +48,7 @@
        }
    }
    /* loaded from: blade-core-boot-9.3.0.0-SNAPSHOT.jar:org/springblade/core/boot/file/BladeFileUtil$NameComparator.class */
    public static class NameComparator implements Comparator {
        @Override // java.util.Comparator
        public int compare(Object a, Object b) {
@@ -65,7 +64,7 @@
        }
    }
    /* loaded from: blade-core-boot-9.3.0.0-SNAPSHOT.jar:org/springblade/core/boot/file/BladeFileUtil$SizeComparator.class */
    public static class SizeComparator implements Comparator {
        @Override // java.util.Comparator
        public int compare(Object a, Object b) {
@@ -84,7 +83,7 @@
        }
    }
    /* loaded from: blade-core-boot-9.3.0.0-SNAPSHOT.jar:org/springblade/core/boot/file/BladeFileUtil$TypeComparator.class */
    public static class TypeComparator implements Comparator {
        @Override // java.util.Comparator
        public int compare(Object a, Object b) {