Skip to content

Commit ae72569

Browse files
committed
更新readme
1 parent 761d0a5 commit ae72569

3 files changed

Lines changed: 8 additions & 12 deletions

File tree

README.md

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -35,17 +35,11 @@ Mac OS X x64 [xJavaFxTool-0.1.6-macosx-x64.pkg](https://dev.tencent.com/s/c5ffd1
3535

3636
#### 环境搭建说明:
3737
- 开发环境为jdk1.8,基于maven构建;
38-
3938
- 使用eclipase或Intellij Idea开发(推荐使用[Intellij Idea](https://www.jetbrains.com/idea/))
40-
4139
- 本项目使用了[lombok](https://projectlombok.org/),在查看本项目时如果您没有下载lombok 插件,请先安装,不然找不到get/set方法;
42-
4340
- 依赖的[xcore包](https://gitee.com/xwintop/xcore)已上传至git托管的maven平台,git托管maven可参考教程。[教程地址:点击进入](http://blog.csdn.net/u011747754/article/details/78574026)
44-
4541
- 使用[javafx-maven-plugin](https://github.com/javafx-maven-plugin/javafx-maven-plugin)插件进行打包操作(可打包windows、Linux、Mac安装包);
46-
4742
- 使用[exe4j](https://www.ej-technologies.com/download/exe4j/files)将jar包转成exe执行文件(仅供参考,可使用其它程序打包);
48-
4943
- 使用[InnoSetup](http://www.jrsoftware.org/)可进行制作windows安装包;
5044

5145
#### 目前集成的小工具有:
@@ -194,7 +188,8 @@ Sender发送器:
194188

195189
计划添加功能:
196190

197-
监控功能(文件夹深度、Ftp/Ftps/sftp文件数量、mq深度)
191+
- 监控功能(文件夹深度、Ftp/Ftps/sftp文件数量、mq深度);
192+
- 转换excel为sql插入语句;
198193

199194
#### 项目结构
200195

src/main/java/com/xwintop/xJavaFxTool/utils/Config.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@
88
public class Config {
99
public static Locale defaultLocale = Locale.getDefault();// 设置系统语言
1010

11-
public static final String xJavaFxToolVersions = "V0.1.6";// xJavaFxTool版本信息
12-
public static final int xJavaFxToolVersionsInteger = 7;// xJavaFxTool更新信息
11+
public static final String xJavaFxToolVersions = "V0.1.7-beta1";// xJavaFxTool版本信息
12+
public static final int xJavaFxToolVersionsInteger = 8;// xJavaFxTool更新信息
1313
}

src/main/java/com/xwintop/xJavaFxTool/utils/XJavaFxSystemUtil.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
import org.apache.commons.configuration.PropertiesConfiguration;
77
import org.apache.commons.configuration.XMLConfiguration;
88
import org.apache.commons.configuration.tree.ConfigurationNode;
9-
import org.apache.commons.lang.StringUtils;
9+
import org.apache.commons.lang3.StringUtils;
1010
import org.dom4j.Document;
1111
import org.dom4j.Element;
1212
import org.dom4j.io.SAXReader;
@@ -43,8 +43,9 @@ public static void initSystemLocal() {
4343
try {
4444
File file = ConfigureUtil.getConfigureFile("systemConfigure.properties");
4545
PropertiesConfiguration xmlConfigure = new PropertiesConfiguration(file);
46-
String[] locale1 = xmlConfigure.getString("Locale").split("_");
47-
if (locale1 != null) {
46+
String localeString = xmlConfigure.getString("Locale");
47+
if (StringUtils.isNotEmpty(localeString)) {
48+
String[] locale1 = localeString.split("_");
4849
Config.defaultLocale = new Locale(locale1[0], locale1[1]);
4950
}
5051
} catch (Exception e) {

0 commit comments

Comments
 (0)