修复了一些BUG

This commit is contained in:
2026-08-14 04:46:38 +08:00
parent 9817a41801
commit 341ec1b0f6
4 changed files with 16 additions and 14 deletions

View File

@@ -1,4 +1,4 @@
1.4-SNAPSHOT 1.5-SNAPSHOT
此版本包含: 此版本包含:
1. 压缩/解压 (`compress`) 1. 压缩/解压 (`compress`)
@@ -16,3 +16,5 @@
6.2 新建临时目录 6.2 新建临时目录
6.3 获取临时目录 6.3 获取临时目录
6.4 获取当前运行的JAR文件路径 6.4 获取当前运行的JAR文件路径
在 1.4-SNAPSHOT 的基础上调整了API接口修复了一些BUG

View File

@@ -6,7 +6,7 @@
<groupId>top.gtb520.java.gnu</groupId> <groupId>top.gtb520.java.gnu</groupId>
<artifactId>gnu_java_utils_library</artifactId> <artifactId>gnu_java_utils_library</artifactId>
<version>1.4-SNAPSHOT</version> <version>1.5-SNAPSHOT</version>
<properties> <properties>
<maven.compiler.source>25</maven.compiler.source> <maven.compiler.source>25</maven.compiler.source>

View File

@@ -148,17 +148,17 @@ public interface main {
return top.gtb520.java.gnu.java.utils.library.utils.file.CreateFile.StreamSaveFile(file, TargePath, FileName); return top.gtb520.java.gnu.java.utils.library.utils.file.CreateFile.StreamSaveFile(file, TargePath, FileName);
} }
} }
}
// 文件加解密操作 // 文件加解密操作
interface EncryptionAndDecryption { interface EncryptionAndDecryption {
// 文件加密 // 文件加密
static File FileEncrypt(File file, EncryptionType type, Path keyPath) throws Exception { static File FileEncrypt(File file, EncryptionType type, Path keyPath) throws Exception {
return top.gtb520.java.gnu.java.utils.library.utils.file.EncryptionAndDecryption.EncryptionFile(file, type, keyPath); return top.gtb520.java.gnu.java.utils.library.utils.file.EncryptionAndDecryption.EncryptionFile(file, type, keyPath);
} }
// 文件解密 // 文件解密
static File DecryptionFile(File file, EncryptionType type, File keyfile) throws Exception { static File DecryptionFile(File file, EncryptionType type, File keyfile) throws Exception {
return top.gtb520.java.gnu.java.utils.library.utils.file.EncryptionAndDecryption.DecryptionFile(file, type, keyfile); return top.gtb520.java.gnu.java.utils.library.utils.file.EncryptionAndDecryption.DecryptionFile(file, type, keyfile);
}
} }
} }
} }

View File

@@ -2,7 +2,7 @@ package top.gtb520.java.gnu.java.utils.library;
public class version { public class version {
// 项目的版本信息,不代表实时运行环境 // 项目的版本信息,不代表实时运行环境
public static final String VERSION = "1.4"; public static final String VERSION = "1.5";
public static final String JAVA_VERSION = "25"; public static final String JAVA_VERSION = "25";
public static final String OpenJDK_VERSION = "25.0.0.0.1"; public static final String OpenJDK_VERSION = "25.0.0.0.1";
public static final String OpenJDK_Runtime_Environment = "25.0.0.0.1+36-GA"; public static final String OpenJDK_Runtime_Environment = "25.0.0.0.1+36-GA";