File tree Expand file tree Collapse file tree
src/main/java/com/xwintop/xJavaFxTool/utils Expand file tree Collapse file tree Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 88public 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}
Original file line number Diff line number Diff line change 66import org .apache .commons .configuration .PropertiesConfiguration ;
77import org .apache .commons .configuration .XMLConfiguration ;
88import org .apache .commons .configuration .tree .ConfigurationNode ;
9- import org .apache .commons .lang .StringUtils ;
9+ import org .apache .commons .lang3 .StringUtils ;
1010import org .dom4j .Document ;
1111import org .dom4j .Element ;
1212import 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 ) {
You can’t perform that action at this time.
0 commit comments