├── .gitignore ├── LICENSE ├── README.md ├── README_EN.md ├── images ├── Cmd调试工具.png ├── Cron表达式生成器.gif ├── Cron表达式生成器.png ├── Excel拆分工具.gif ├── Excel拆分工具.png ├── Ftp客户端调试工具.gif ├── Ftp客户端调试工具.png ├── Ftp服务器.gif ├── Ftp服务器.png ├── Http调试工具.gif ├── Http调试工具.png ├── Json转换工具.gif ├── Json转换工具.png ├── Mq调试工具.gif ├── Mq调试工具.png ├── Pdf转换工具.gif ├── Pdf转换工具.png ├── Redis连接工具.gif ├── Redis连接工具.png ├── Socket调试工具.gif ├── Socket调试工具.png ├── Time转换.gif ├── Time转换.png ├── json格式化编辑工具.gif ├── json格式化编辑工具.png ├── zookeeper工具.png ├── 久坐提醒工具.png ├── 二维码生成工具.gif ├── 二维码生成工具.png ├── 传输工具.gif ├── 传输工具.png ├── 剪贴板历史工具.png ├── 加密解密.gif ├── 加密解密.png ├── 印章生成工具.gif ├── 印章生成工具.png ├── 图标生成工具.gif ├── 图标生成工具.png ├── 图片压缩工具.gif ├── 图片压缩工具.png ├── 图片转码工具.gif ├── 图片转码工具.png ├── 字符串转换.gif ├── 字符串转换.png ├── 成语字典工具.gif ├── 文件列表生成器.gif ├── 文件列表生成器.png ├── 文件合并工具.png ├── 文件复制.png ├── 文件编码检测工具.png ├── 文件编码转换工具.gif ├── 文件重命名工具.gif ├── 文件重命名工具.png ├── 正则表达式生成工具.gif ├── 正则表达式生成工具.png ├── 猜数字游戏.png ├── 短信群发工具.gif ├── 短信群发工具.png ├── 端口扫描工具.gif ├── 端口扫描工具.png ├── 系统信息.gif ├── 编码检测工具.gif ├── 编码转换.png ├── 网址缩短.png ├── 语音转换工具.png ├── 转义字符.gif ├── 转义字符.png ├── 邮件发送工具.gif ├── 邮件发送工具.png ├── 随机数生成工具.gif ├── 随机数生成工具.png └── 颜色代码转换工具.gif ├── pom.xml └── src ├── main ├── java │ └── com │ │ └── xwintop │ │ └── xJavaFxTool │ │ ├── Main.java │ │ ├── common │ │ ├── logback │ │ │ └── ConsoleLogAppender.java │ │ └── package-info.java │ │ ├── config │ │ └── CorsConfig.java │ │ ├── controller │ │ ├── IndexController.java │ │ ├── index │ │ │ ├── PluginManageController.java │ │ │ └── SystemSettingController.java │ │ ├── javaFxTools │ │ │ ├── JavaFxXmlToObjectCodeController.java │ │ │ └── package-info.java │ │ └── package-info.java │ │ ├── fxmlView │ │ ├── IndexView.java │ │ └── javaFxTools │ │ │ ├── JavaFxXmlToObjectCodeView.java │ │ │ └── package-info.java │ │ ├── model │ │ ├── PluginJarInfo.java │ │ ├── ToolFxmlLoaderConfiguration.java │ │ └── package-info.java │ │ ├── plugin │ │ ├── PluginLoader.java │ │ └── PluginManager.java │ │ ├── services │ │ ├── IndexService.java │ │ ├── index │ │ │ ├── PluginManageService.java │ │ │ └── SystemSettingService.java │ │ ├── javaFxTools │ │ │ ├── JavaFxXmlToObjectCodeService.java │ │ │ └── package-info.java │ │ └── package-info.java │ │ ├── utils │ │ ├── Config.java │ │ ├── SpringUtil.java │ │ ├── StageUtils.java │ │ ├── XJavaFxSystemUtil.java │ │ └── package-info.java │ │ └── view │ │ ├── IndexView.java │ │ ├── index │ │ ├── PluginManageView.java │ │ └── SystemSettingView.java │ │ └── package-info.java └── resources │ ├── application.yml │ ├── banner.txt │ ├── com │ └── xwintop │ │ └── xJavaFxTool │ │ └── fxmlView │ │ ├── Index.fxml │ │ ├── index │ │ ├── PluginManage.fxml │ │ └── SystemSetting.fxml │ │ └── javaFxTools │ │ └── JavaFxXmlToObjectCode.fxml │ ├── config │ └── toolFxmlLoaderConfiguration.xml │ ├── css │ ├── jfoenix-main.css │ └── style.css │ ├── images │ ├── icon.jpg │ └── javafx.png │ ├── locale │ ├── Menu.properties │ └── Menu_en_US.properties │ └── logback.xml └── test └── java └── com └── xwintop └── xJavaFxTool └── AppTest.java /.gitignore: -------------------------------------------------------------------------------- 1 | # Default ignored files 2 | #/.gitignore 3 | /xJavaFxTool-spring.iml 4 | /logs 5 | /target 6 | .idea 7 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Apache License 2 | Version 2.0, January 2004 3 | http://www.apache.org/licenses/ 4 | 5 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 6 | 7 | 1. Definitions. 8 | 9 | "License" shall mean the terms and conditions for use, reproduction, 10 | and distribution as defined by Sections 1 through 9 of this document. 11 | 12 | "Licensor" shall mean the copyright owner or entity authorized by 13 | the copyright owner that is granting the License. 14 | 15 | "Legal Entity" shall mean the union of the acting entity and all 16 | other entities that control, are controlled by, or are under common 17 | control with that entity. For the purposes of this definition, 18 | "control" means (i) the power, direct or indirect, to cause the 19 | direction or management of such entity, whether by contract or 20 | otherwise, or (ii) ownership of fifty percent (50%) or more of the 21 | outstanding shares, or (iii) beneficial ownership of such entity. 22 | 23 | "You" (or "Your") shall mean an individual or Legal Entity 24 | exercising permissions granted by this License. 25 | 26 | "Source" form shall mean the preferred form for making modifications, 27 | including but not limited to software source code, documentation 28 | source, and configuration files. 29 | 30 | "Object" form shall mean any form resulting from mechanical 31 | transformation or translation of a Source form, including but 32 | not limited to compiled object code, generated documentation, 33 | and conversions to other media types. 34 | 35 | "Work" shall mean the work of authorship, whether in Source or 36 | Object form, made available under the License, as indicated by a 37 | copyright notice that is included in or attached to the work 38 | (an example is provided in the Appendix below). 39 | 40 | "Derivative Works" shall mean any work, whether in Source or Object 41 | form, that is based on (or derived from) the Work and for which the 42 | editorial revisions, annotations, elaborations, or other modifications 43 | represent, as a whole, an original work of authorship. For the purposes 44 | of this License, Derivative Works shall not include works that remain 45 | separable from, or merely link (or bind by name) to the interfaces of, 46 | the Work and Derivative Works thereof. 47 | 48 | "Contribution" shall mean any work of authorship, including 49 | the original version of the Work and any modifications or additions 50 | to that Work or Derivative Works thereof, that is intentionally 51 | submitted to Licensor for inclusion in the Work by the copyright owner 52 | or by an individual or Legal Entity authorized to submit on behalf of 53 | the copyright owner. For the purposes of this definition, "submitted" 54 | means any form of electronic, verbal, or written communication sent 55 | to the Licensor or its representatives, including but not limited to 56 | communication on electronic mailing lists, source code control systems, 57 | and issue tracking systems that are managed by, or on behalf of, the 58 | Licensor for the purpose of discussing and improving the Work, but 59 | excluding communication that is conspicuously marked or otherwise 60 | designated in writing by the copyright owner as "Not a Contribution." 61 | 62 | "Contributor" shall mean Licensor and any individual or Legal Entity 63 | on behalf of whom a Contribution has been received by Licensor and 64 | subsequently incorporated within the Work. 65 | 66 | 2. Grant of Copyright License. Subject to the terms and conditions of 67 | this License, each Contributor hereby grants to You a perpetual, 68 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 69 | copyright license to reproduce, prepare Derivative Works of, 70 | publicly display, publicly perform, sublicense, and distribute the 71 | Work and such Derivative Works in Source or Object form. 72 | 73 | 3. Grant of Patent License. Subject to the terms and conditions of 74 | this License, each Contributor hereby grants to You a perpetual, 75 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 76 | (except as stated in this section) patent license to make, have made, 77 | use, offer to sell, sell, import, and otherwise transfer the Work, 78 | where such license applies only to those patent claims licensable 79 | by such Contributor that are necessarily infringed by their 80 | Contribution(s) alone or by combination of their Contribution(s) 81 | with the Work to which such Contribution(s) was submitted. If You 82 | institute patent litigation against any entity (including a 83 | cross-claim or counterclaim in a lawsuit) alleging that the Work 84 | or a Contribution incorporated within the Work constitutes direct 85 | or contributory patent infringement, then any patent licenses 86 | granted to You under this License for that Work shall terminate 87 | as of the date such litigation is filed. 88 | 89 | 4. Redistribution. You may reproduce and distribute copies of the 90 | Work or Derivative Works thereof in any medium, with or without 91 | modifications, and in Source or Object form, provided that You 92 | meet the following conditions: 93 | 94 | (a) You must give any other recipients of the Work or 95 | Derivative Works a copy of this License; and 96 | 97 | (b) You must cause any modified files to carry prominent notices 98 | stating that You changed the files; and 99 | 100 | (c) You must retain, in the Source form of any Derivative Works 101 | that You distribute, all copyright, patent, trademark, and 102 | attribution notices from the Source form of the Work, 103 | excluding those notices that do not pertain to any part of 104 | the Derivative Works; and 105 | 106 | (d) If the Work includes a "NOTICE" text file as part of its 107 | distribution, then any Derivative Works that You distribute must 108 | include a readable copy of the attribution notices contained 109 | within such NOTICE file, excluding those notices that do not 110 | pertain to any part of the Derivative Works, in at least one 111 | of the following places: within a NOTICE text file distributed 112 | as part of the Derivative Works; within the Source form or 113 | documentation, if provided along with the Derivative Works; or, 114 | within a display generated by the Derivative Works, if and 115 | wherever such third-party notices normally appear. The contents 116 | of the NOTICE file are for informational purposes only and 117 | do not modify the License. You may add Your own attribution 118 | notices within Derivative Works that You distribute, alongside 119 | or as an addendum to the NOTICE text from the Work, provided 120 | that such additional attribution notices cannot be construed 121 | as modifying the License. 122 | 123 | You may add Your own copyright statement to Your modifications and 124 | may provide additional or different license terms and conditions 125 | for use, reproduction, or distribution of Your modifications, or 126 | for any such Derivative Works as a whole, provided Your use, 127 | reproduction, and distribution of the Work otherwise complies with 128 | the conditions stated in this License. 129 | 130 | 5. Submission of Contributions. Unless You explicitly state otherwise, 131 | any Contribution intentionally submitted for inclusion in the Work 132 | by You to the Licensor shall be under the terms and conditions of 133 | this License, without any additional terms or conditions. 134 | Notwithstanding the above, nothing herein shall supersede or modify 135 | the terms of any separate license agreement you may have executed 136 | with Licensor regarding such Contributions. 137 | 138 | 6. Trademarks. This License does not grant permission to use the trade 139 | names, trademarks, service marks, or product names of the Licensor, 140 | except as required for reasonable and customary use in describing the 141 | origin of the Work and reproducing the content of the NOTICE file. 142 | 143 | 7. Disclaimer of Warranty. Unless required by applicable law or 144 | agreed to in writing, Licensor provides the Work (and each 145 | Contributor provides its Contributions) on an "AS IS" BASIS, 146 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 147 | implied, including, without limitation, any warranties or conditions 148 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 149 | PARTICULAR PURPOSE. You are solely responsible for determining the 150 | appropriateness of using or redistributing the Work and assume any 151 | risks associated with Your exercise of permissions under this License. 152 | 153 | 8. Limitation of Liability. In no event and under no legal theory, 154 | whether in tort (including negligence), contract, or otherwise, 155 | unless required by applicable law (such as deliberate and grossly 156 | negligent acts) or agreed to in writing, shall any Contributor be 157 | liable to You for damages, including any direct, indirect, special, 158 | incidental, or consequential damages of any character arising as a 159 | result of this License or out of the use or inability to use the 160 | Work (including but not limited to damages for loss of goodwill, 161 | work stoppage, computer failure or malfunction, or any and all 162 | other commercial damages or losses), even if such Contributor 163 | has been advised of the possibility of such damages. 164 | 165 | 9. Accepting Warranty or Additional Liability. While redistributing 166 | the Work or Derivative Works thereof, You may choose to offer, 167 | and charge a fee for, acceptance of support, warranty, indemnity, 168 | or other liability obligations and/or rights consistent with this 169 | License. However, in accepting such obligations, You may act only 170 | on Your own behalf and on Your sole responsibility, not on behalf 171 | of any other Contributor, and only if You agree to indemnify, 172 | defend, and hold each Contributor harmless for any liability 173 | incurred by, or claims asserted against, such Contributor by reason 174 | of your accepting any such warranty or additional liability. 175 | 176 | END OF TERMS AND CONDITIONS 177 | 178 | APPENDIX: How to apply the Apache License to your work. 179 | 180 | To apply the Apache License to your work, attach the following 181 | boilerplate notice, with the fields enclosed by brackets "[]" 182 | replaced with your own identifying information. (Don't include 183 | the brackets!) The text should be enclosed in the appropriate 184 | comment syntax for the file format. We also recommend that a 185 | file or class name and description of purpose be included on the 186 | same "printed page" as the copyright notice for easier 187 | identification within third-party archives. 188 | 189 | Copyright [yyyy] [name of copyright owner] 190 | 191 | Licensed under the Apache License, Version 2.0 (the "License"); 192 | you may not use this file except in compliance with the License. 193 | You may obtain a copy of the License at 194 | 195 | http://www.apache.org/licenses/LICENSE-2.0 196 | 197 | Unless required by applicable law or agreed to in writing, software 198 | distributed under the License is distributed on an "AS IS" BASIS, 199 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 200 | See the License for the specific language governing permissions and 201 | limitations under the License. 202 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | #### 项目简介: 2 | **gitee地址:**[xJavaFxTool-spring](https://gitee.com/xwintop/xJavaFxTool-spring) 3 | 4 | **GitHub地址:**[xJavaFxTool-spring](https://github.com/864381832/xJavaFxTool-spring) 5 | 6 | **腾讯云开发平台地址:**[xJavaFxTool-spring](https://dev.tencent.com/u/xwintop/p/xJavaFxTool-spring) 7 | 8 |

9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | gitee star 17 | 18 | 19 | github star 20 | 21 |

22 | 23 | [英文说明/English Documentation](README_EN.md) 24 | 25 | **xJavaFxTool交流QQ群:== [387473650](https://jq.qq.com/?_wv=1027&k=59UDEAD) ==** 26 | #### 项目简介: 27 | xJavaFxTool-spring是基于springBoot,使用javaFx开发的实用小工具集,利用业余时间把工作中遇到的一些问题总结起来,打包进小工具集中,供大家参考和使用,里面包含了javaFx的一些功能的示例,如布局、国际化、第三方UI库([controlsfx](http://fxexperience.com/controlsfx/)、[JFoenix](http://www.jfoenix.com/)等)、外部jar包加载(插件机制)等一些常用功能,想学习javaFx的同学可以参考参考,学习javaFx的资料参考[www.javafxchina.net](http://www.javafxchina.net/main/) 28 | 29 | xJavaFxTool-spring为基于原有项目[xJavaFxTool](https://gitee.com/xwintop/xJavaFxTool)之上构建的,后续两个版本都会更新,感谢大家的支持。 30 | 31 | #### 下载试用地址: 32 | - 可直接运行的jar包(本地需要有jdk1.8环境)[xJavaFxTool-spring-0.2.0.jar](https://xwintop.gitee.io/maven/package/xJavaFxTool-spring/xJavaFxTool-spring-0.2.0.jar) 33 | - Windows x64安装包(兼容xp、windows7、8、10等系统)[xJavaFxTool-spring-0.2.0-windows-x64.exe](https://xwintop.gitee.io/maven/package/xJavaFxTool-spring/xJavaFxTool-spring-0.2.0-windows-x64.exe) 34 | - Linux x64 [xJavaFxTool-spring-0.2.0-linux-x64.zip](https://xwintop.coding.net/s/a014e43a-bdb9-4348-bb3f-7d6942e55b46) (Linux平台64位运行压缩包,解压即可运行) 35 | - Mac OS X x64 [xJavaFxTool-spring-0.2.0-macosx-x64.pkg](https://xwintop.coding.net/s/2146255d-fe56-46ae-9a46-ef308c34aeb1) 36 | #### 若上面下链接失效可使用下面下载链接: 37 | - 百度云链接:[https://pan.baidu.com/s/1RjlR58eu_GZC4iy46eGKLw](https://pan.baidu.com/s/1RjlR58eu_GZC4iy46eGKLw) 提取码:zerc 38 | - 腾讯微云链接:[https://share.weiyun.com/57irGHJ](https://share.weiyun.com/57irGHJ) 提取码:java 39 | 40 | 将插件jar包放至根目录libs下即可自动加载(插件开发示例见[开源项目xJavaFxTool-plugin](https://gitee.com/xwintop/xJavaFxTool-plugin),后续准备将小工具拆分至各插件中按需加载,目前插件功能暂不完善,后续将各功能拆分至各模块按需加载,减小jar包的大小); 41 | 42 | #### 环境搭建说明: 43 | - 开发环境为jdk1.8,基于maven构建; 44 | - 使用eclipase或Intellij Idea开发(推荐使用[Intellij Idea](https://www.jetbrains.com/idea/)) 45 | - 基于SpringBoot搭建,大大简化了配置操作。 46 | - 本项目使用了lombok,在查看本项目时如果您没有下载lombok 插件,请先安装,不然找不到get/set方法; 47 | - 依赖的[xcore包](https://gitee.com/xwintop/xcore)已上传至git托管的maven平台,git托管maven可参考教程。[教程地址:点击进入](http://blog.csdn.net/u011747754/article/details/78574026) 48 | - 使用[javafx-maven-plugin](https://github.com/javafx-maven-plugin/javafx-maven-plugin)插件进行打包操作(可打包windows、Linux、Mac安装包); 49 | - 使用[exe4j](https://www.ej-technologies.com/download/exe4j/files)将jar包转成exe执行文件(仅供参考,可使用其它程序打包); 50 | - 使用[InnoSetup](http://www.jrsoftware.org/)可进行制作windows安装包; 51 | 52 | #### 目前集成的小工具有: 53 | 1. FileCopy:文件复制(支持自动调度拷贝功能)(使用[quartz](https://www.quartz-scheduler.org/)工具) 54 | 2. CronExpBuilder:Cron表达式生成器 55 | 3. CharacterConverter:编码转换 56 | 4. EncryptAndDecrypt:加密解密(Ascii、Hex、Base64、Base32、URL、MD5、SHA、AES、DES、文件加密DM5、文件加密SHA1、摩斯密码、Druid加密)(使用[commons-codec](http://commons.apache.org/codec/)工具) 57 | 5. TimeTool:Time转换(常用格式转换(含时区)、计算时间差、时间叠加计算) 58 | 6. LinuxPathToWindowsPath:路径转换(使用[oshi](https://github.com/oshi/oshi)工具) 59 | 7. QRCodeBuilder:二维码生成工具(自动生成、加入logo、截图识别、自定义格式)(使用[google.zxing](https://github.com/zxing/zxing)、[jkeymaster](https://github.com/tulskiy/jkeymaster)等工具) 60 | 8. IdCardGenerator:身份证生成器 61 | 9. RegexTester:正则表达式生成工具 62 | 10. ShortURL:网址缩短(目前支持百度、新浪、缩我等短网址缩短) 63 | 11. EscapeCharacter:转义字符(支持Html、XML、Java、JavaScript、CSV、Sql)(使用[commons-lang3](https://commons.apache.org/lang)工具) 64 | 12. ZHConverter:字符串转换(使用[hanlp](http://hanlp.com/)开源工具,实现拼音、简体-繁体、简体-臺灣正體、简体-香港繁體、繁體-臺灣正體、繁體-香港繁體、香港繁體-臺灣正體、数字金额-大写金额等直接的转换) 65 | 13. ActiveMqTool:Mq调试工具(目前仅支持[ActiveMq](http://activemq.apache.org)) 66 | 14. HttpTool:Http调试工具(支持自定义发送数据、header和cookie)(使用[okhttp](https://square.github.io/okhttp/)) 67 | 15. jsonEditor:json格式化编辑工具 68 | 16. IconTool:图标生成工具(使用[thumbnailator](https://github.com/coobird/thumbnailator)工具) 69 | 17. RedisTool:Redis连接工具(使用[jedis](https://github.com/xetorthio/jedis)工具) 70 | 18. WebSourcesTool:网页源码下载工具 71 | 19. SwitchHostsTool:切换Hosts工具(使用[richtextfx](https://github.com/FXMisc/RichTextFX)工具) 72 | 20. FtpServer:Ftp服务器(快速搭建本地Ftp服务)(基于[apache.ftpserver](https://mina.apache.org/ftpserver-project)) 73 | 21. CmdTool:Cmd调试工具 74 | 22. FtpClientTool:Ftp(s)/Sftp客户端调试工具(批量上传、下载、删除文件及文件夹)(implicit/explicit SSL/TLS)(使用[jsch](http://www.jcraft.com/jsch)、[commons-io](http://commons.apache.org/io/)等工具) 75 | 23. PdfConvertTool:Pdf转换工具(目前仅支持pdf转图片、pdf转text功能)(使用[pdfbox](https://pdfbox.apache.org/)工具) 76 | 24. DirectoryTreeTool:文件列表生成器 77 | 25. ImageTool:图片压缩工具(批量压缩、修改尺寸、转换格式) 78 | 26. AsciiPicTool:图片转码工具(包括图片生成banner码、图片转Base64码、图片转Excel表) 79 | 27. KafkaTool:Kafka调试工具(未完善)(使用了[kafka-clients](http://kafka.apache.org/)) 80 | 28. EmailTool:Email群发工具(支持自定义群发模版)(使用[commons-email](https://commons.apache.org/email)工具) 81 | 29. ColorCodeConverterTool:颜色代码转换工具(包括16进制、RGB、ARGB、RGBA、HSL、HSV等代码之间转换) 82 | 30. SmsTool:短信群发工具(目前支持中国移动、中国电信、腾讯云、阿里云、梦网云通讯等平台) 83 | 31. ScriptEngineTool:脚本引擎调试工具(目前支持JavaScript、Groovy、Python、Lua等脚本)(使用[groovy](http://groovy-lang.org)、[jython](https://jython.org)、[luaj](http://www.luaj.org/luaj.html)等工具) 84 | 32. FileRenameTool:文件重命名工具 85 | 33. JsonConvertTool:Json转换工具(目前支持Json转Xml、Json转Java实体类、Json转C#实体类、Json转Excel、Json转Yaml、Properties转Yaml、Yaml转Properties)(使用[fastjson](https://github.com/alibaba/fastjson)、[snakeyaml](https://bitbucket.org/asomov/snakeyaml)、[dom4j](https://dom4j.github.io)等工具) 86 | 34. WechatJumpGameTool:微信跳一跳助手 87 | 35. TextToSpeechTool:语音转换工具(调用[百度语音](https://ai.baidu.com/tech/speech/tts)转换api) 88 | 36. 2048:小游戏2048 89 | 37. SocketTool:Socket调试工具(使用[Apache Mina](http://mina.apache.org)实现Tcp、Udp服务端和Client端) 90 | 38. ImageAnalysisTool:图片解析工具(1、.atlas文件反解析2、图片快速拆分工具) 91 | 39. DecompilerWxApkgTool:微信小程序反编译工具(一键反编译微信小程序包) 92 | 40. ZookeeperTool:Zookeeper工具(方便对zookeeper的一系列操作,包括新增、修改、删除(包括子文件)、重命名、复制、添加变更通知)(使用[zkclient](https://github.com/sgroschupf/zkclient)工具) 93 | 41. ExcelSplitTool:Excel拆分工具(支持对xls、xlsx、csv及文件进行拆分操作)(使用[commons-csv](http://commons.apache.org/csv)工具) 94 | 42. PathWatchTool:文件夹监控工具 95 | 43. CharsetDetectTool:文件编码检测工具(使用[juniversalchardet](https://github.com/albfernandez/juniversalchardet)工具) 96 | 44. TransferTool:传输工具(集成各种传输协议,使用自定义定时任务(简单模式、cron表达式模式),分为Receiver接收器、Filter处理器、Sender发送器) 97 | 45. ScanPortTool:端口扫描工具 98 | 46. FileMergeTool:文件合并工具(支持对xls、xlsx、csv及文件进行合并操作)(使用[apache.poi](http://poi.apache.org/)工具) 99 | 47. SedentaryReminderTool:久坐提醒工具 100 | 48. RandomGeneratorTool:随机数生成工具(使用[hutool](https://hutool.cn)工具) 101 | 49. ClipboardHistoryTool:剪贴板历史工具 102 | 50. FileSearchTool:文件搜索工具(使用[lucene](https://lucene.apache.org/)搜索引擎) 103 | 51. Mp3ConvertTool:Mp3转换工具(目前支持网易云音乐.ncm、QQ音乐.qmc转换为mp3格式)(使用[jaudiotagger](http://www.jthink.net/jaudiotagger/)工具) 104 | 52. SealBuilderTool:印章生成工具 105 | 53. BullsAndCowsGame:猜数字小游戏 106 | 54. FileUnicodeTransformationTool:文件编码转换工具 107 | 55. FileCompressTool:文件解压缩工具(目前支持ar、zip、tar、jar、cpio、7z、gz、bzip2、xz、lzma、pack200、deflate、snappy-framed、lz4-block、lz4-framed、zstd等格式解压缩) 108 | 56. IdiomDataTool:成语字典工具(使用[h2](http://www.h2database.com)数据库存储数据字典) 109 | 57. Sudoku:数独游戏 110 | 58. LiteappCode:小程序码生成工具 111 | 112 | 项目开发中,以后会陆续添加新工具,欢迎大家参与其中,多提提意见,谢谢。 113 | 114 | #### 项目结构 115 | 116 | ``` 117 | xJavaFxTool-spring 118 | ├─ images 项目截图 119 | ├─ libs 插件jar包存放 120 | ├─ pom.xml maven配置文件 121 | ├─ README.md 说明文件 122 | ├─ src 123 | │  ├─ main 124 | │  │  ├─ java 125 | │  │  │  └─ com 126 | │  │  │  └─ xwintop 127 | │  │  │  └─ xJavaFxTool 128 | │  │  │  ├─ common 第三方工具类 129 | │  │  │  ├─ config springBoot配置类 130 | │  │  │  ├─ controller javafx控制层 131 | │  │  │  │  ├─ javaFxTools javaFx工具控制层 132 | │  │  │  │  └─ index 首页控制层 133 | │  │  │  ├─ fxmlView FxmlView控制层 134 | │  │  │  ├─ model 基础bean类层 135 | │  │  │  ├─ services 工具服务层 136 | │  │  │  │  ├─ javaFxTools javaFx工具服务层 137 | │  │  │  │  └─ index 首页工具服务层 138 | │  │  │  ├─ utils 系统工具类 139 | │  │  │  └─ view javafx视图层 140 | │  │  │  ├─ javaFxTools javaFx工具视图层 141 | │  │  │  └─ index 首页工具视图层 142 | │  │  └─ resources 143 | │  │  ├─ com 144 | │  │  │  └─ xwintop 145 | │  │  │  └─ xJavaFxTool 146 | │  │  │  └─ fxmlView .fxml文件 147 | │  │  ├─ config 配置文件 148 | │  │  │  └─ toolFxmlLoaderConfiguration.xml 系统菜单加载配置文件 149 | │  │  ├─ css 样式资源 150 | │  │  ├─ images 图片资源 151 | │  │  ├─ locale 国际化 152 | │  │  ├─ application.yml SpringBoot配置文件 153 | │  │  ├─ banner.txt 启动banner图片 154 | │  │  └─ logback.xml logback日志配置文件 155 | │  └─ test 测试类 156 | │  ├─ java 157 | │  └─ resources 158 | 159 | ``` 160 | 161 | 运行截图展示: 162 | 163 | ![输入图片说明](images/传输工具.gif "传输工具.gif") 164 | ![输入图片说明](images/邮件发送工具.gif "邮件发送工具.png") 165 | ![输入图片说明](images/Cron表达式生成器.gif "Cron表达式生成器.gif") 166 | ![输入图片说明](images/加密解密.gif "加密解密.png") 167 | ![输入图片说明](images/正则表达式生成工具.gif "正则表达式生成工具.png") 168 | ![输入图片说明](images/二维码生成工具.gif "二维码生成工具.png") 169 | ![输入图片说明](images/随机数生成工具.gif "随机数生成工具.png") 170 | ![输入图片说明](images/Redis连接工具.gif "Redis连接工具.png") 171 | ![输入图片说明](images/图片压缩工具.gif "图片压缩工具.png") 172 | ![输入图片说明](images/图片转码工具.gif "图片转码工具.png") 173 | ![输入图片说明](images/短信群发工具.gif "短信群发工具.png") 174 | ![输入图片说明](images/文件重命名工具.gif "文件重命名工具.png") 175 | ![输入图片说明](images/成语字典工具.gif "成语字典工具.png") 176 | -------------------------------------------------------------------------------- /README_EN.md: -------------------------------------------------------------------------------- 1 | **Gidee address:**[xJavaFxTool-spring](https://gitee.com/xwintop/xJavaFxTool-spring) 2 | 3 | **GitHub address:**[xJavaFxTool-spring](https://github.com/864381832/xJavaFxTool-spring) 4 | 5 | **Tencent Cloud Development Platform Address:**[xJavaFxTool-spring](https://dev.tencent.com/u/xwintop/p/xJavaFxTool-spring) 6 | 7 |

8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | gitee star 16 | 17 | 18 | github star 19 | 20 |

21 | 22 | [中文说明/Chinese Documentation](README.md) 23 | 24 | **xJavaFxTool exchange QQ group:== [387473650](https://jq.qq.com/?_wv=1027&k=59UDEAD) ==** 25 | 26 | #### Project Description: 27 | xJavaFxTool is a practical gadget set developed by javaFx. It uses some time to summarize some problems encountered in the work, packaged into a small tool set for your reference and use. It contains some examples of javaFx functions, such as layout, Internationalization, third-party UI library ( [controlsfx](http://fxexperience.com/controlsfx/) , [JFoenix](http://www.jfoenix.com/), etc.), external jar package loading (plug-in mechanism) and other common functions, students who want to learn javaFx can refer to the reference, learn javaFx data reference [www.javafxchina.net](http://www.javafxchina.net/main/) 28 | 29 | Due to the hot SpringBoot, the project has been released SpringBoot-javafx version, [xJavaFxTool-spring](https://gitee.com/xwintop/xJavaFxTool-spring) welcome reference, thank you. 30 | 31 | #### Download trial address: 32 | - Jar package that can be run directly (local need to have jdk1.8 environment)[xJavaFxTool-spring-0.1.4.jar](https://dev.tencent.com/s/4b3eee09-482c-4269-83e9-fc9c1068baf5) 33 | - Windows x86 installation package (compatible with xp, windows7, 8, 10, etc.) [xJavaFxTool-spring-0.1.4-windows-x86.exe](https://dev.tencent.com/s/c3537a14-5528-4d6c-a605-2375e1810d3a) 34 | - Windows x64 installation package (compatible with xp, windows7, 8, 10, etc.)[xJavaFxTool-spring-0.1.4-windows-x64.exe](https://dev.tencent.com/s/d0ee7c9f-8611-432c-b445-b61fc6aad5f1) 35 | - Linux x64 [xJavaFxTool-spring-0.1.4-linux-x64.zip](https://dev.tencent.com/s/6100efc7-fd3f-404c-a528-fed3d32b016c) (Linux platform 64-bit running compression package, decompression can run) 36 | - Mac OS X x64 [xJavaFxTool-spring-0.1.4-macosx-x64.dmg](https://dev.tencent.com/s/b566b428-da9c-4cab-972a-35831cace479) 37 | - Mac OS X x64 [xJavaFxTool-spring-0.1.4-macosx-x64.pkg](https://dev.tencent.com/s/68633719-cf9b-41f0-b3e0-7a7ec9d51d01) 38 | #### If the above link fails, use the download link below: 39 | - Baidu cloud link: [https://pan.baidu.com/s/1RjlR58eu_GZC4iy46eGKLw](https://pan.baidu.com/s/1RjlR58eu_GZC4iy46eGKLw) extraction code: zerc 40 | - Tencent micro cloud link: [https://share.weiyun.com/57irGHJ](https://share.weiyun.com/57irGHJ) extraction code: java 41 | 42 | Support plug-in development, the plug-in jar package can be automatically loaded under the root directory libs (see the open source project [xJavaFxPlugIn](https://gitee.com/xwintop/xJavaFxPlugIn) for plug-in development examples , and the next step is to split the gadget into each plug-in and load it as needed. Currently, the plug-in function is not perfect, follow-up Split each function into modules and load them as needed to reduce the size of the jar package); 43 | 44 | #### Environmental construction instructions: 45 | - The development environment is jdk1.8, based on maven build 46 | - Developed with eclipase or Intellij Idea (Recommended to use [Intellij Idea](https://www.jetbrains.com/idea/) ) 47 | - This project uses [lombok](https://projectlombok.org/) . If you have not downloaded the lombok plugin when viewing this project, please install it first, otherwise you can't find the get/set method. 48 | - The dependent [xcore](https://gitee.com/xwintop/xcore) package has been uploaded to the git-hosted maven platform. The git hosting maven can refer to the tutorial (if you can't download it, please pull the project to compile it yourself ). Tutorial address: Click to enter 49 | - Package using the [javafx-maven-plugin](https://github.com/javafx-maven-plugin/javafx-maven-plugin) (can be packaged for windows, Linux, Mac installation packages) 50 | - Use [exe4j](https://www.ej-technologies.com/download/exe4j/files) to convert the jar package into an exe executable file (for reference only, you can use other programs to package) 51 | - Use [InnoSetup](http://www.jrsoftware.org/) to make windows installation packages 52 | 53 | #### The currently integrated gadgets are: 54 | 1. FileCopy: File Copy (supports automatic scheduled copy function) (using the [quartz](https://www.quartz-scheduler.org/) tool) 55 | 2. CronExpBuilder: Cron Expression Builder 56 | 3. CharacterConverter: code conversion 57 | 4. EncryptAndDecrypt: Encryption and decryption (Ascii, Hex, Base64, Base32, URL, MD5, SHA, AES, DES, file encryption DM5, file encryption SHA1, Morse password, Druid encryption) (using the [commons-codec](http://commons.apache.org/codec/) tool) 58 | 5. TimeTool: Time conversion (common format conversion (including time zone), calculation time difference, time superposition calculation) 59 | 6. LinuxPathToWindowsPath: path conversion (using the [oshi](https://github.com/oshi/oshi) tool) 60 | 7. QRCodeBuilder: QR code generation tool (automatically generate, add logo, screenshot recognition, custom format) (using [google.zxing](https://github.com/zxing/zxing) , [jkeymaster](https://github.com/tulskiy/jkeymaster), etc.) 61 | 8. IdCardGenerator: ID Generator 62 | 9. RegexTester: Regular Expression Generation Tool 63 | 10. ShortURL: URL shortening (currently support Baidu, Sina, shrink me and other short URL shortening) 64 | 11. EscapeCharacter: escape characters (supports Html, XML, Java, JavaScript, CSV, Sql) (using the [commons-lang3](https://commons.apache.org/lang) tool) 65 | 12. ZHConverter: string conversion (using [hanlp](http://hanlp.com/) open source tools, to achieve pinyin, simplified - traditional, simplified - Taiwanese body, simplified - Hong Kong traditional, traditional - Taiwanese body, traditional - Hong Kong traditional, Hong Kong traditional - Taiwanese body, digital amount - capital amount, etc. Direct conversion) 66 | 13. ActiveMqTool: Mq debugging tool (currently only supports [ActiveMq](http://activemq.apache.org) ) 67 | 14. HttpTool: Http debugging tool (supports custom send data, header and cookie) (using [okhttp](https://square.github.io/okhttp/) ) 68 | 15. jsonEditor: json format editing tool 69 | 16. IconTool: Icon Generation Tool (using the [thumbnailator](https://github.com/coobird/thumbnailator) tool) 70 | 17. RedisTool: Redis connection tool (using the [jedis](https://github.com/xetorthio/jedis) tool) 71 | 18. WebSourcesTool: web source download tool 72 | 19. SwitchHostsTool: Switch the Hosts tool (using the [richtextfx](https://github.com/FXMisc/RichTextFX) tool) 73 | 20. FtpServer: Ftp server (quickly build local Ftp service) (based on [apache.ftpserver](https://mina.apache.org/ftpserver-project) ) 74 | 21. CmdTool: Cmd debugging tool 75 | 22. FtpClientTool: Ftp(s)/Sftp client debugging tool (batch upload, download, delete files and folders) (implicit/explicit SSL/TLS) (using [jsch](http://www.jcraft.com/jsch) , [commons-io](http://commons.apache.org/io/), etc.) 76 | 23. PdfConvertTool: Pdf conversion tool (currently only supports pdf to image, pdf to text function) (using [pdfbox](https://pdfbox.apache.org/) tool) 77 | 24. DirectoryTreeTool: File List Generator 78 | 25. ImageTool: Image compression tool (bulk compression, resizing, conversion format) 79 | 26. AsciiPicTool: Image transcoding tool (including image generation banner code, picture to Base64 code, picture to Excel table) 80 | 27. KafkaTool: Kafka debugging tool (not perfect) (using [kafka-clients](http://kafka.apache.org/) ) 81 | 28. EmailTool: Email bulk tool (supports custom bulk template) (using the [commons-email](https://commons.apache.org/email) tool) 82 | 29. ColorCodeConverterTool: color code conversion tool (including conversion between hexadecimal, RGB, ARGB, RGBA, HSL, HSV, etc.) 83 | 30. SmsTool: SMS group sending tool (currently supports China Mobile, China Telecom, Tencent Cloud, Alibaba Cloud, Monternet Cloud Communication and other platforms) 84 | 31. ScriptEngineTool: script engine debugging tool (currently supports scripts such as JavaScript, Groovy, Python, Lua, etc.) (using tools such as [groovy](http://groovy-lang.org),[jython](https://jython.org),[luaj](http://www.luaj.org/luaj.html), etc.) 85 | 32. FileRenameTool: File Rename Tool 86 | 33. JsonConvertTool: Json conversion tool (currently supports Json to Xml, Json to Java entity class, Json to C# entity class, Json to Excel, Json to Yaml, Properties to Yaml, Yaml to Properties) (using [fastjson](https://github.com/alibaba/fastjson), [snakeyaml](https://bitbucket.org/asomov/snakeyaml), [dom4j](https://dom4j.github.io), etc.) 87 | 34. WechatJumpGameTool: WeChat Jumping Assistant 88 | 35. TextToSpeechTool: Voice Conversion Tool (call [Baidu Voice Conversion](https://ai.baidu.com/tech/speech/tts) API) 89 | 36. 2048: Small game 2048 90 | 37. SocketTool: Socket debugging tool (using [Apache Mina](http://mina.apache.org) to implement Tcp, Udp server and client) 91 | 38. ImageAnalysisTool: Image parsing tool (1. Atlas file anti-parsing 2, image quick split tool) 92 | 39. DecompilerWxApkgTool: WeChat applet decompilation tool (one-click decompilation WeChat small package) 93 | 40. ZooKeeperTool: Zookeeper Tool (a convenient operation for ZooKeeper, including adding, modifying, deleting (including subfiles), renaming, copying, adding change notifications) (using the [zkclient](https://github.com/sgroschupf/zkclient) tool) 94 | 41. ExcelSplitTool: Excel split tool (supports splitting xls, xlsx, csv and files) (using the [commons-csv](http://commons.apache.org/csv) tool) 95 | 42. PathWatchTool: Folder Monitoring Tool 96 | 43. CharsetDetectTool: File Encoding Detection Tool (using the [juniversalchardet](https://github.com/albfernandez/juniversalchardet) tool) 97 | 44. TransferTool: Transfer tool (integrated with various transport protocols, using custom timing tasks (simple mode, cron expression mode), divided into Receiver receiver, Filter processor, Sender transmitter) 98 | 45. ScanPortTool: Port Scanning Tool 99 | 46. FileMergeTool: File Merge Tool (supports merging xls, xlsx, csv, and files) (using the [apache.poi](http://poi.apache.org/) tool) 100 | 47. SedentaryReminderTool: Sedentary Reminder Tool 101 | 48. RandomGeneratorTool: random number generation tool (using [hutool](https://hutool.cn) tool) 102 | 49. ClipboardHistoryTool: Clipboard History Tool 103 | 104 | #### In the development of the project, new tools will be added in the future. Welcome everyone to participate and give more comments, thank you. 105 | #### Plan to add features: 106 | - [ ] Monitoring function (folder depth, number of Ftp/Ftps/sftp files, mq depth) 107 | - [ ] Convert excel to sql insert statement 108 | - [ ] Record keyboard usage gadget 109 | - [ ] Random file generator (with template engine) 110 | 111 | #### Project structure 112 | 113 | ``` 114 | xJavaFxTool 115 | ├─ project ImagesRF Royalty Free Screenshot 116 | ├─ external storage jar package lib reference 117 | ├─ libs plugin jar package store 118 | ├─ pom.xml maven profile 119 | ├─ README.md documentation 120 | ├─ src 121 | │ ├─ main 122 | │ │ ├─ the Java 123 | │ │ │ └ com 124 | │ │ │ └ ─ xwintop 125 | │ │ │ └ ─ ─ xJavaFxTool 126 | │ │ │ ├─ common third-party tools 127 | │ │ │ ├─ config springBoot configuration class 128 | │ │ │ ├─ controller javafx control layer 129 | │ │ │ │ ├─ javaFxTools javaFx tool control layer 130 | │ │ │ │ └ ─ webTools html tool control layer 131 | │ │ │ ├─ job timed task processing job 132 | │ │ │ ├─ main main function package 133 | │ │ │ ├─ manager management 134 | │ │ │ ├─ model basic bean class layer 135 | │ │ │ ├─ services tool service layer 136 | │ │ │ │ ├─ javaFxTools javaFx tool service layer 137 | │ │ │ │ └─ webTools html tool service layer 138 | │ │ │ ├─ Utils system tools class 139 | │ │ │ ├─ view javafx view layer 140 | │ │ │ │ ├─ javaFxTools javaFx tool view layer 141 | │ │ │ │ └─ webTools html tool view layer 142 | │ │ └ ─ resources 143 | │ │ ├ com 144 | │ │ │ └ ─ xwintop 145 | │ │ │ └─ xJavaFxTool 146 | │ │ │ └─ fxmlView .fxml file 147 | │ │ ├─ Config configuration file 148 | │ │ │ └─ toolFxmlLoaderConfiguration.xml system menu loading configuration file 149 | │ │ ├─ css style resource 150 | │ │ ├─ images image resource 151 | │ │ ├─ locale internationalization 152 | │ │ ├─ application.yaml SpringBoot configuration file 153 | │ │ ├─ banner.txt start banner pictures 154 | │ │ └─ logback.xml logback log configuration file 155 | │ └─ test test class 156 | │ ├─ java 157 | │ └─ resources 158 | 159 | ``` 160 | 161 | #### Special thanks to 162 | When a person is still young, I feel that I should start to do something that is meaningful to society, just like open source. At this point, thanks to the following contributors (in no particular order): 163 | + [Li Zhu](https://gitee.com/loyalty521) 164 | + [luming](https://gitee.com/jeeweb) 165 | + [Code](https://gitee.com/dazer1992) 166 | + Your goddess 167 | 168 | #### Follow-up plan 169 | From time to time, add the pain points tool that summarizes the requirements in the development process. Everyone has a pain point at work and can enter the group discussion. Later, there may be corresponding tool solutions. Thank you for your support. 170 | 171 | #### The project screenshot is as follows: 172 | 173 | ![输入图片说明](images/传输工具.gif "传输工具.gif") 174 | ![输入图片说明](images/邮件发送工具.gif "邮件发送工具.png") 175 | ![输入图片说明](images/Cron表达式生成器.gif "Cron表达式生成器.gif") 176 | ![输入图片说明](images/加密解密.gif "加密解密.png") 177 | ![输入图片说明](images/正则表达式生成工具.gif "正则表达式生成工具.png") 178 | ![输入图片说明](images/二维码生成工具.gif "二维码生成工具.png") 179 | ![输入图片说明](images/随机数生成工具.gif "随机数生成工具.png") 180 | ![输入图片说明](images/Redis连接工具.gif "Redis连接工具.png") 181 | ![输入图片说明](images/图片压缩工具.gif "图片压缩工具.png") 182 | ![输入图片说明](images/图片转码工具.gif "图片转码工具.png") 183 | ![输入图片说明](images/短信群发工具.gif "短信群发工具.png") 184 | ![输入图片说明](images/文件重命名工具.gif "文件重命名工具.png") 185 | ![输入图片说明](images/成语字典工具.gif "成语字典工具.png") 186 | -------------------------------------------------------------------------------- /images/Cmd调试工具.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/864381832/xJavaFxTool-spring/a12d3726714ba8169fbc3919befcf7e18bdb98b4/images/Cmd调试工具.png -------------------------------------------------------------------------------- /images/Cron表达式生成器.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/864381832/xJavaFxTool-spring/a12d3726714ba8169fbc3919befcf7e18bdb98b4/images/Cron表达式生成器.gif -------------------------------------------------------------------------------- /images/Cron表达式生成器.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/864381832/xJavaFxTool-spring/a12d3726714ba8169fbc3919befcf7e18bdb98b4/images/Cron表达式生成器.png -------------------------------------------------------------------------------- /images/Excel拆分工具.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/864381832/xJavaFxTool-spring/a12d3726714ba8169fbc3919befcf7e18bdb98b4/images/Excel拆分工具.gif -------------------------------------------------------------------------------- /images/Excel拆分工具.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/864381832/xJavaFxTool-spring/a12d3726714ba8169fbc3919befcf7e18bdb98b4/images/Excel拆分工具.png -------------------------------------------------------------------------------- /images/Ftp客户端调试工具.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/864381832/xJavaFxTool-spring/a12d3726714ba8169fbc3919befcf7e18bdb98b4/images/Ftp客户端调试工具.gif -------------------------------------------------------------------------------- /images/Ftp客户端调试工具.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/864381832/xJavaFxTool-spring/a12d3726714ba8169fbc3919befcf7e18bdb98b4/images/Ftp客户端调试工具.png -------------------------------------------------------------------------------- /images/Ftp服务器.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/864381832/xJavaFxTool-spring/a12d3726714ba8169fbc3919befcf7e18bdb98b4/images/Ftp服务器.gif -------------------------------------------------------------------------------- /images/Ftp服务器.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/864381832/xJavaFxTool-spring/a12d3726714ba8169fbc3919befcf7e18bdb98b4/images/Ftp服务器.png -------------------------------------------------------------------------------- /images/Http调试工具.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/864381832/xJavaFxTool-spring/a12d3726714ba8169fbc3919befcf7e18bdb98b4/images/Http调试工具.gif -------------------------------------------------------------------------------- /images/Http调试工具.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/864381832/xJavaFxTool-spring/a12d3726714ba8169fbc3919befcf7e18bdb98b4/images/Http调试工具.png -------------------------------------------------------------------------------- /images/Json转换工具.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/864381832/xJavaFxTool-spring/a12d3726714ba8169fbc3919befcf7e18bdb98b4/images/Json转换工具.gif -------------------------------------------------------------------------------- /images/Json转换工具.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/864381832/xJavaFxTool-spring/a12d3726714ba8169fbc3919befcf7e18bdb98b4/images/Json转换工具.png -------------------------------------------------------------------------------- /images/Mq调试工具.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/864381832/xJavaFxTool-spring/a12d3726714ba8169fbc3919befcf7e18bdb98b4/images/Mq调试工具.gif -------------------------------------------------------------------------------- /images/Mq调试工具.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/864381832/xJavaFxTool-spring/a12d3726714ba8169fbc3919befcf7e18bdb98b4/images/Mq调试工具.png -------------------------------------------------------------------------------- /images/Pdf转换工具.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/864381832/xJavaFxTool-spring/a12d3726714ba8169fbc3919befcf7e18bdb98b4/images/Pdf转换工具.gif -------------------------------------------------------------------------------- /images/Pdf转换工具.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/864381832/xJavaFxTool-spring/a12d3726714ba8169fbc3919befcf7e18bdb98b4/images/Pdf转换工具.png -------------------------------------------------------------------------------- /images/Redis连接工具.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/864381832/xJavaFxTool-spring/a12d3726714ba8169fbc3919befcf7e18bdb98b4/images/Redis连接工具.gif -------------------------------------------------------------------------------- /images/Redis连接工具.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/864381832/xJavaFxTool-spring/a12d3726714ba8169fbc3919befcf7e18bdb98b4/images/Redis连接工具.png -------------------------------------------------------------------------------- /images/Socket调试工具.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/864381832/xJavaFxTool-spring/a12d3726714ba8169fbc3919befcf7e18bdb98b4/images/Socket调试工具.gif -------------------------------------------------------------------------------- /images/Socket调试工具.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/864381832/xJavaFxTool-spring/a12d3726714ba8169fbc3919befcf7e18bdb98b4/images/Socket调试工具.png -------------------------------------------------------------------------------- /images/Time转换.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/864381832/xJavaFxTool-spring/a12d3726714ba8169fbc3919befcf7e18bdb98b4/images/Time转换.gif -------------------------------------------------------------------------------- /images/Time转换.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/864381832/xJavaFxTool-spring/a12d3726714ba8169fbc3919befcf7e18bdb98b4/images/Time转换.png -------------------------------------------------------------------------------- /images/json格式化编辑工具.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/864381832/xJavaFxTool-spring/a12d3726714ba8169fbc3919befcf7e18bdb98b4/images/json格式化编辑工具.gif -------------------------------------------------------------------------------- /images/json格式化编辑工具.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/864381832/xJavaFxTool-spring/a12d3726714ba8169fbc3919befcf7e18bdb98b4/images/json格式化编辑工具.png -------------------------------------------------------------------------------- /images/zookeeper工具.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/864381832/xJavaFxTool-spring/a12d3726714ba8169fbc3919befcf7e18bdb98b4/images/zookeeper工具.png -------------------------------------------------------------------------------- /images/久坐提醒工具.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/864381832/xJavaFxTool-spring/a12d3726714ba8169fbc3919befcf7e18bdb98b4/images/久坐提醒工具.png -------------------------------------------------------------------------------- /images/二维码生成工具.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/864381832/xJavaFxTool-spring/a12d3726714ba8169fbc3919befcf7e18bdb98b4/images/二维码生成工具.gif -------------------------------------------------------------------------------- /images/二维码生成工具.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/864381832/xJavaFxTool-spring/a12d3726714ba8169fbc3919befcf7e18bdb98b4/images/二维码生成工具.png -------------------------------------------------------------------------------- /images/传输工具.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/864381832/xJavaFxTool-spring/a12d3726714ba8169fbc3919befcf7e18bdb98b4/images/传输工具.gif -------------------------------------------------------------------------------- /images/传输工具.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/864381832/xJavaFxTool-spring/a12d3726714ba8169fbc3919befcf7e18bdb98b4/images/传输工具.png -------------------------------------------------------------------------------- /images/剪贴板历史工具.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/864381832/xJavaFxTool-spring/a12d3726714ba8169fbc3919befcf7e18bdb98b4/images/剪贴板历史工具.png -------------------------------------------------------------------------------- /images/加密解密.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/864381832/xJavaFxTool-spring/a12d3726714ba8169fbc3919befcf7e18bdb98b4/images/加密解密.gif -------------------------------------------------------------------------------- /images/加密解密.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/864381832/xJavaFxTool-spring/a12d3726714ba8169fbc3919befcf7e18bdb98b4/images/加密解密.png -------------------------------------------------------------------------------- /images/印章生成工具.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/864381832/xJavaFxTool-spring/a12d3726714ba8169fbc3919befcf7e18bdb98b4/images/印章生成工具.gif -------------------------------------------------------------------------------- /images/印章生成工具.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/864381832/xJavaFxTool-spring/a12d3726714ba8169fbc3919befcf7e18bdb98b4/images/印章生成工具.png -------------------------------------------------------------------------------- /images/图标生成工具.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/864381832/xJavaFxTool-spring/a12d3726714ba8169fbc3919befcf7e18bdb98b4/images/图标生成工具.gif -------------------------------------------------------------------------------- /images/图标生成工具.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/864381832/xJavaFxTool-spring/a12d3726714ba8169fbc3919befcf7e18bdb98b4/images/图标生成工具.png -------------------------------------------------------------------------------- /images/图片压缩工具.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/864381832/xJavaFxTool-spring/a12d3726714ba8169fbc3919befcf7e18bdb98b4/images/图片压缩工具.gif -------------------------------------------------------------------------------- /images/图片压缩工具.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/864381832/xJavaFxTool-spring/a12d3726714ba8169fbc3919befcf7e18bdb98b4/images/图片压缩工具.png -------------------------------------------------------------------------------- /images/图片转码工具.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/864381832/xJavaFxTool-spring/a12d3726714ba8169fbc3919befcf7e18bdb98b4/images/图片转码工具.gif -------------------------------------------------------------------------------- /images/图片转码工具.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/864381832/xJavaFxTool-spring/a12d3726714ba8169fbc3919befcf7e18bdb98b4/images/图片转码工具.png -------------------------------------------------------------------------------- /images/字符串转换.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/864381832/xJavaFxTool-spring/a12d3726714ba8169fbc3919befcf7e18bdb98b4/images/字符串转换.gif -------------------------------------------------------------------------------- /images/字符串转换.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/864381832/xJavaFxTool-spring/a12d3726714ba8169fbc3919befcf7e18bdb98b4/images/字符串转换.png -------------------------------------------------------------------------------- /images/成语字典工具.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/864381832/xJavaFxTool-spring/a12d3726714ba8169fbc3919befcf7e18bdb98b4/images/成语字典工具.gif -------------------------------------------------------------------------------- /images/文件列表生成器.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/864381832/xJavaFxTool-spring/a12d3726714ba8169fbc3919befcf7e18bdb98b4/images/文件列表生成器.gif -------------------------------------------------------------------------------- /images/文件列表生成器.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/864381832/xJavaFxTool-spring/a12d3726714ba8169fbc3919befcf7e18bdb98b4/images/文件列表生成器.png -------------------------------------------------------------------------------- /images/文件合并工具.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/864381832/xJavaFxTool-spring/a12d3726714ba8169fbc3919befcf7e18bdb98b4/images/文件合并工具.png -------------------------------------------------------------------------------- /images/文件复制.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/864381832/xJavaFxTool-spring/a12d3726714ba8169fbc3919befcf7e18bdb98b4/images/文件复制.png -------------------------------------------------------------------------------- /images/文件编码检测工具.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/864381832/xJavaFxTool-spring/a12d3726714ba8169fbc3919befcf7e18bdb98b4/images/文件编码检测工具.png -------------------------------------------------------------------------------- /images/文件编码转换工具.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/864381832/xJavaFxTool-spring/a12d3726714ba8169fbc3919befcf7e18bdb98b4/images/文件编码转换工具.gif -------------------------------------------------------------------------------- /images/文件重命名工具.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/864381832/xJavaFxTool-spring/a12d3726714ba8169fbc3919befcf7e18bdb98b4/images/文件重命名工具.gif -------------------------------------------------------------------------------- /images/文件重命名工具.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/864381832/xJavaFxTool-spring/a12d3726714ba8169fbc3919befcf7e18bdb98b4/images/文件重命名工具.png -------------------------------------------------------------------------------- /images/正则表达式生成工具.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/864381832/xJavaFxTool-spring/a12d3726714ba8169fbc3919befcf7e18bdb98b4/images/正则表达式生成工具.gif -------------------------------------------------------------------------------- /images/正则表达式生成工具.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/864381832/xJavaFxTool-spring/a12d3726714ba8169fbc3919befcf7e18bdb98b4/images/正则表达式生成工具.png -------------------------------------------------------------------------------- /images/猜数字游戏.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/864381832/xJavaFxTool-spring/a12d3726714ba8169fbc3919befcf7e18bdb98b4/images/猜数字游戏.png -------------------------------------------------------------------------------- /images/短信群发工具.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/864381832/xJavaFxTool-spring/a12d3726714ba8169fbc3919befcf7e18bdb98b4/images/短信群发工具.gif -------------------------------------------------------------------------------- /images/短信群发工具.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/864381832/xJavaFxTool-spring/a12d3726714ba8169fbc3919befcf7e18bdb98b4/images/短信群发工具.png -------------------------------------------------------------------------------- /images/端口扫描工具.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/864381832/xJavaFxTool-spring/a12d3726714ba8169fbc3919befcf7e18bdb98b4/images/端口扫描工具.gif -------------------------------------------------------------------------------- /images/端口扫描工具.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/864381832/xJavaFxTool-spring/a12d3726714ba8169fbc3919befcf7e18bdb98b4/images/端口扫描工具.png -------------------------------------------------------------------------------- /images/系统信息.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/864381832/xJavaFxTool-spring/a12d3726714ba8169fbc3919befcf7e18bdb98b4/images/系统信息.gif -------------------------------------------------------------------------------- /images/编码检测工具.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/864381832/xJavaFxTool-spring/a12d3726714ba8169fbc3919befcf7e18bdb98b4/images/编码检测工具.gif -------------------------------------------------------------------------------- /images/编码转换.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/864381832/xJavaFxTool-spring/a12d3726714ba8169fbc3919befcf7e18bdb98b4/images/编码转换.png -------------------------------------------------------------------------------- /images/网址缩短.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/864381832/xJavaFxTool-spring/a12d3726714ba8169fbc3919befcf7e18bdb98b4/images/网址缩短.png -------------------------------------------------------------------------------- /images/语音转换工具.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/864381832/xJavaFxTool-spring/a12d3726714ba8169fbc3919befcf7e18bdb98b4/images/语音转换工具.png -------------------------------------------------------------------------------- /images/转义字符.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/864381832/xJavaFxTool-spring/a12d3726714ba8169fbc3919befcf7e18bdb98b4/images/转义字符.gif -------------------------------------------------------------------------------- /images/转义字符.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/864381832/xJavaFxTool-spring/a12d3726714ba8169fbc3919befcf7e18bdb98b4/images/转义字符.png -------------------------------------------------------------------------------- /images/邮件发送工具.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/864381832/xJavaFxTool-spring/a12d3726714ba8169fbc3919befcf7e18bdb98b4/images/邮件发送工具.gif -------------------------------------------------------------------------------- /images/邮件发送工具.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/864381832/xJavaFxTool-spring/a12d3726714ba8169fbc3919befcf7e18bdb98b4/images/邮件发送工具.png -------------------------------------------------------------------------------- /images/随机数生成工具.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/864381832/xJavaFxTool-spring/a12d3726714ba8169fbc3919befcf7e18bdb98b4/images/随机数生成工具.gif -------------------------------------------------------------------------------- /images/随机数生成工具.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/864381832/xJavaFxTool-spring/a12d3726714ba8169fbc3919befcf7e18bdb98b4/images/随机数生成工具.png -------------------------------------------------------------------------------- /images/颜色代码转换工具.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/864381832/xJavaFxTool-spring/a12d3726714ba8169fbc3919befcf7e18bdb98b4/images/颜色代码转换工具.gif -------------------------------------------------------------------------------- /pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | com.xwintop 6 | xJavaFxTool-spring 7 | 0.2.0 8 | jar 9 | xJavaFxTool-spring 10 | 基于JavaFx和SpringBoot搭建的实用小工具集合 11 | https://gitee.com/xwintop/xJavaFxTool-spring 12 | 13 | 14 | org.springframework.boot 15 | spring-boot-starter-parent 16 | 2.1.3.RELEASE 17 | 18 | 19 | 20 | 21 | UTF-8 22 | true 23 | 1.8 24 | 1.8 25 | 26 | 27 | 28 | aliyunmaven 29 | http://maven.aliyun.com/nexus/content/groups/public/ 30 | 31 | 32 | xwintop-maven 33 | https://xwintop.gitee.io/maven/repository 34 | 35 | 36 | xwintop-maven 37 | https://864381832.github.io/maven/repository 38 | 39 | 40 | spring-snapshots 41 | http://repo.spring.io/snapshot 42 | 43 | true 44 | 45 | 46 | 47 | spring-milestones 48 | http://repo.spring.io/milestone 49 | 50 | 51 | 52 | 53 | junit 54 | junit 55 | 4.13.1 56 | test 57 | 58 | 59 | com.xwintop 60 | xcore 61 | 0.0.4-SNAPSHOT 62 | 63 | 64 | 65 | org.springframework.boot 66 | spring-boot-starter 67 | 68 | 69 | de.roskenet 70 | springboot-javafx-support 71 | 2.1.4 72 | 73 | 74 | org.springframework.boot 75 | spring-boot-starter-web 76 | 77 | 78 | 79 | com.github.oshi 80 | oshi-core 81 | 3.9.1 82 | 83 | 84 | 85 | 86 | 87 | org.springframework.boot 88 | spring-boot-maven-plugin 89 | 90 | 91 | com.zenjava 92 | javafx-maven-plugin 93 | 8.8.3 94 | 95 | com.xwintop.xJavaFxTool.Main 96 | xwintop 97 | xJavaFxTool-spring 98 | xJavaFxTool-spring.jar 99 | 100 | 101 | 102 | 103 | 104 | -------------------------------------------------------------------------------- /src/main/java/com/xwintop/xJavaFxTool/Main.java: -------------------------------------------------------------------------------- 1 | package com.xwintop.xJavaFxTool; 2 | 3 | import com.xwintop.xJavaFxTool.fxmlView.IndexView; 4 | import com.xwintop.xJavaFxTool.utils.StageUtils; 5 | import com.xwintop.xJavaFxTool.utils.XJavaFxSystemUtil; 6 | import com.xwintop.xcore.util.javafx.AlertUtil; 7 | import com.xwintop.xcore.util.javafx.JavaFxViewUtil; 8 | import de.felixroske.jfxsupport.AbstractJavaFxApplicationSupport; 9 | import de.felixroske.jfxsupport.GUIState; 10 | import de.felixroske.jfxsupport.SplashScreen; 11 | import javafx.application.Platform; 12 | import javafx.event.EventHandler; 13 | import javafx.scene.Scene; 14 | import javafx.scene.layout.AnchorPane; 15 | import javafx.stage.Stage; 16 | import javafx.stage.WindowEvent; 17 | import lombok.extern.slf4j.Slf4j; 18 | import org.springframework.boot.autoconfigure.SpringBootApplication; 19 | import org.springframework.context.ConfigurableApplicationContext; 20 | 21 | /** 22 | * @ClassName: Main 23 | * @Description: 启动类 24 | * @author: xufeng 25 | * @date: 2017年11月10日 下午4:34:11 26 | */ 27 | @SpringBootApplication 28 | @Slf4j 29 | public class Main extends AbstractJavaFxApplicationSupport { 30 | 31 | public static void main(String[] args) { 32 | XJavaFxSystemUtil.initSystemLocal();//初始化本地语言 33 | XJavaFxSystemUtil.addJarByLibs();//添加外部jar包 34 | 35 | SplashScreen splashScreen = new SplashScreen() { 36 | @Override 37 | public String getImagePath() { 38 | return "/images/javafx.png"; 39 | } 40 | }; 41 | launch(Main.class, IndexView.class, splashScreen, args); 42 | // launchApp(Main.class, IndexView.class, args); 43 | } 44 | 45 | @Override 46 | public void beforeInitialView(Stage stage, ConfigurableApplicationContext ctx) { 47 | super.beforeInitialView(stage, ctx); 48 | Scene scene = JavaFxViewUtil.getJFXDecoratorScene(stage, "", null, new AnchorPane()); 49 | stage.setScene(scene); 50 | stage.setOnCloseRequest(new EventHandler() { 51 | @Override 52 | public void handle(WindowEvent event) { 53 | if (AlertUtil.showConfirmAlert("确定要退出吗?")) { 54 | System.exit(0); 55 | } else { 56 | event.consume(); 57 | } 58 | } 59 | }); 60 | GUIState.setScene(scene); 61 | Platform.runLater(() -> { 62 | StageUtils.updateStageStyle(GUIState.getStage()); 63 | }); 64 | } 65 | } 66 | -------------------------------------------------------------------------------- /src/main/java/com/xwintop/xJavaFxTool/common/logback/ConsoleLogAppender.java: -------------------------------------------------------------------------------- 1 | package com.xwintop.xJavaFxTool.common.logback; 2 | 3 | import ch.qos.logback.classic.Level; 4 | import ch.qos.logback.classic.spi.ILoggingEvent; 5 | import ch.qos.logback.core.OutputStreamAppender; 6 | import com.xwintop.xcore.util.javafx.TooltipUtil; 7 | import javafx.scene.control.TextArea; 8 | import lombok.Data; 9 | 10 | import java.io.IOException; 11 | import java.io.OutputStream; 12 | import java.util.ArrayList; 13 | import java.util.List; 14 | 15 | /** 16 | * @ClassName: ConsoleLogAppender 17 | * @Description: 日志打印控制台 18 | * @author: xufeng 19 | * @date: 2019/4/25 0025 23:18 20 | */ 21 | 22 | @Data 23 | public class ConsoleLogAppender extends OutputStreamAppender { 24 | public final static List