Compare commits
2 Commits
1.4-SNAPSH
...
1.5-SNAPSH
| Author | SHA1 | Date | |
|---|---|---|---|
| 341ec1b0f6 | |||
| 9817a41801 |
14
INFO.md
14
INFO.md
@@ -1,4 +1,4 @@
|
||||
1.3-SNAPSHOT
|
||||
1.5-SNAPSHOT
|
||||
|
||||
此版本包含:
|
||||
1. 压缩/解压 (`compress`)
|
||||
@@ -6,11 +6,15 @@
|
||||
2.1 预定义颜色打印 — `ColorPrintln`
|
||||
2.2 自定义颜色打印 — `ColorHexPrintln`
|
||||
2.3 Minecraft 风格多色打印 — `ColorPrintlnPlus`
|
||||
3. 随机生成器 (`random`)
|
||||
4. 硬件标识生成器 (`hwid`)
|
||||
5. 版本信息 (`version`)
|
||||
6. 运行时信息 (`runtime`)
|
||||
3. 文件创建与保存 (`file/CreateFile`)
|
||||
4. 文件加密/解密 (`file/EncryptionAndDecryption`)
|
||||
5. 随机生成器 (`random`)
|
||||
6. 硬件标识生成器 (`hwid`)
|
||||
7. 版本信息 (`version`)
|
||||
8. 运行时信息 (`runtime`)
|
||||
6.1 获取运行时临时目录
|
||||
6.2 新建临时目录
|
||||
6.3 获取临时目录
|
||||
6.4 获取当前运行的JAR文件路径
|
||||
|
||||
在 1.4-SNAPSHOT 的基础上调整了API接口,修复了一些BUG
|
||||
|
||||
2
pom.xml
2
pom.xml
@@ -6,7 +6,7 @@
|
||||
|
||||
<groupId>top.gtb520.java.gnu</groupId>
|
||||
<artifactId>gnu_java_utils_library</artifactId>
|
||||
<version>1.4-SNAPSHOT</version>
|
||||
<version>1.5-SNAPSHOT</version>
|
||||
|
||||
<properties>
|
||||
<maven.compiler.source>25</maven.compiler.source>
|
||||
|
||||
@@ -148,17 +148,17 @@ public interface main {
|
||||
return top.gtb520.java.gnu.java.utils.library.utils.file.CreateFile.StreamSaveFile(file, TargePath, FileName);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// 文件加解密操作
|
||||
interface EncryptionAndDecryption {
|
||||
// 文件加密
|
||||
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);
|
||||
}
|
||||
// 文件解密
|
||||
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);
|
||||
// 文件加解密操作
|
||||
interface EncryptionAndDecryption {
|
||||
// 文件加密
|
||||
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);
|
||||
}
|
||||
// 文件解密
|
||||
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);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@ package top.gtb520.java.gnu.java.utils.library;
|
||||
|
||||
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 OpenJDK_VERSION = "25.0.0.0.1";
|
||||
public static final String OpenJDK_Runtime_Environment = "25.0.0.0.1+36-GA";
|
||||
|
||||
Reference in New Issue
Block a user