插件开发工具库,推荐依赖该工具库。
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
692 B

package com.fanruan.api;
import java.io.IOException;
import java.util.Properties;
/**
* @author richie
* @version 10.0
* Created by richie on 2019-08-09
*/
public class FineKit {
private static String version;
static {
Properties properties = new Properties();
try {
properties.load(FineKit.class.getResourceAsStream("/version.properties"));
version = properties.getProperty("version");
} catch (IOException ignore) {
version = "1.0";
}
}
/**
* 获取开发者工具套件的版本信息
* @return 版本信息
*/
public static String version() {
return version;
}
}