# xJavaFxTool **Repository Path**: dodocs/xJavaFxTool ## Basic Information - **Project Name**: xJavaFxTool - **Description**: 基于JavaFx搭建的实用小工具集合,方便开发过程中的代码编写与调试,想学习javaFx的同学可以参考参考。其中包括文件复制、Cron表达式生成器、编码转换、加密解密、Time转换、路径转换、二维码生成工具、正则表达式生成工具、网址缩短、转义字符、字符串转换、Mq调试工具、Http调试工具、json格式化编辑工具、图标生成工具、Redis连接工具、网页源码下载工具、切换Hosts工具、Ftp服务器、Cmd调试工具、Ftp/Ftps/Sftp客户端调试工具、Pdf转换工具、文件列表生成器、图片压缩工具、图片转码工具、Kafka调试工具、Email群发工具、颜色代码转换工具、短信群发工具、脚本引擎调试、文件重命名、Json转换、语音转换、Socket调试、图片解析、微信小程序反编译、Zookeeper操作、Excel拆分合并、文件夹监控、文件编码检测、传输、端口扫描、久坐提醒、随机数生成、剪贴板历史、文件搜索、mp3转换、印章生成、文件解压缩、小程序码生成、文件生成、Java反编译等工具 - **Primary Language**: Java - **License**: MulanPSL-2.0 - **Default Branch**: master - **Homepage**: https://gitee.com/xwintop/xJavaFxTool - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 966 - **Created**: 2021-06-25 - **Last Updated**: 2021-06-25 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README **gitee地址:**[xJavaFxTool](https://gitee.com/xwintop/xJavaFxTool) **GitHub地址:**[xJavaFxTool](https://github.com/864381832/xJavaFxTool) **腾讯云开发平台地址:**[xJavaFxTool](https://dev.tencent.com/u/xwintop/p/xJavaFxTool) ![](https://img.shields.io/:license-apache-blue.svg) ![](https://img.shields.io/badge/JDK-1.8+-green.svg) ![](https://gitee.com/xwintop/xJavaFxTool/badge/star.svg?theme=dark) ![](https://img.shields.io/github/stars/864381832/xJavaFxTool.svg?style=social) [![](https://img.shields.io/badge/IntelliJ%20IDEA-提供支持-blue.svg)](https://www.jetbrains.com/?from=xJavaFxTool) [英文说明/English Documentation](README_EN.md) **xJavaFxTool交流QQ群:== [387473650(此群已满)](https://jq.qq.com/?_wv=1027&k=59UDEAD) 请加群②[1104780992](https://jq.qq.com/?_wv=1027&k=bhAdkju9) ==** **xJavaFxTool吐个槽:== [进来吐槽](https://support.qq.com/product/127577) ==** #### 项目简介: xJavaFxTool是使用javaFx开发的实用小工具集,利用业余时间把工作中遇到的一些问题总结起来,打包进小工具集中,供大家参考和使用,里面包含了javaFx的一些功能的示例,如布局、国际化、第三方UI库[controlsfx](http://fxexperience.com/controlsfx/)、[JFoenix](http://www.jfoenix.com/)等、外部jar包加载(插件机制)等一些常用功能,想学习javaFx的同学可以参考参考,学习javaFx的资料参考[www.javafxchina.net](http://www.javafxchina.net/main/) 由于SpringBoot的火热,项目已经出SpringBoot-javafx版本,[xJavaFxTool-spring](https://gitee.com/xwintop/xJavaFxTool-spring) 欢迎参考,谢谢。 #### 下载试用地址: - 可直接运行的jar包(本地需要有jdk1.8环境)[xJavaFxTool-0.2.3.jar](https://xwintop.gitee.io/maven/package/xJavaFxTool/xJavaFxTool-0.2.3.jar) - Windows x86安装包(兼容xp、windows7、8、10等系统)(请在下面网盘中下载) - Windows x64安装包(兼容xp、windows7、8、10等系统)[xJavaFxTool-0.2.3-windows-x64.exe](https://xwintop.gitee.io/maven/package/xJavaFxTool/xJavaFxTool-0.2.3-windows-x64.exe) - Linux x64 (请在下面网盘中下载) - Mac OS X x64 [xJavaFxTool-0.2.3-macosx-x64.pkg](https://xwintop.gitee.io/maven/package/xJavaFxTool/xJavaFxTool-0.2.3-macosx-x64.pkg) #### 若上面下链接失效可使用下面下载链接: - 百度云链接:[https://pan.baidu.com/s/193fhGnJL4dDWcqDnFJcHbA](https://pan.baidu.com/s/193fhGnJL4dDWcqDnFJcHbA) 提取码:mokl - 腾讯微云链接:[https://share.weiyun.com/5T6FPLW](https://share.weiyun.com/5T6FPLW) 提取码:java #### 支持插件开发: 插件开发及示例见[开源项目xJavaFxTool-plugin](https://gitee.com/xwintop/xJavaFxTool-plugin) 目前已将小工具拆分至各模块插件中按需加载,减小jar包的大小,将插件jar包放至根目录libs下即可自动加载; - [调试相关工具](https://gitee.com/xwintop/xJavaFxTool-debugTools) - [小工具](https://gitee.com/xwintop/xJavaFxTool-littleTools) - [相关小游戏](https://gitee.com/xwintop/xJavaFxTool-Games) #### 环境搭建说明: - 开发环境为jdk1.8,基于maven构建 - 使用eclipase或Intellij Idea开发,推荐使用[Intellij Idea](https://www.jetbrains.com/?from=xJavaFxTool) - 本项目使用了[lombok](https://projectlombok.org/),在查看本项目时如果您没有下载lombok 插件,请先安装,不然找不到get/set等方法 - 依赖的[xcore包](https://gitee.com/xwintop/xcore)已上传至git托管的maven平台,git托管maven可参考教程(若无法下载请拉取项目自行编译)。[教程地址:点击进入](http://blog.csdn.net/u011747754/article/details/78574026) - 使用[javafx-maven-plugin](https://github.com/javafx-maven-plugin/javafx-maven-plugin)插件进行打包操作(可打包windows、Linux、Mac安装包) - 使用[exe4j](https://www.ej-technologies.com/download/exe4j/files)将jar包转成exe执行文件(仅供参考,可使用其它程序打包) - 使用[InnoSetup](http://www.jrsoftware.org/)可进行制作windows安装包 #### 目前集成的小工具有: 1. FileCopy:[文件复制](https://gitee.com/xwintop/x-FileCopy)(支持自动调度拷贝功能) 使用[quartz](https://www.quartz-scheduler.org/)工具 2. CronExpBuilder:[Cron表达式生成器](https://gitee.com/xwintop/x-CronExpBuilder) 3. CharacterConverter:[编码转换](https://gitee.com/xwintop/x-CharacterConverter) 4. EncryptAndDecrypt:[加密解密](https://gitee.com/xwintop/x-EncryptAndDecrypt)(Ascii、Hex、Base64、Base32、URL、MD5、SHA、AES、DES、文件加密DM5、文件加密SHA1、摩斯密码、Druid加密)使用[commons-codec](http://commons.apache.org/codec/)工具 5. TimeTool:[Time转换](https://gitee.com/xwintop/x-TimeTool)(常用格式转换(含时区)、计算时间差、时间叠加计算) 6. LinuxPathToWindowsPath:[路径转换](https://gitee.com/xwintop/x-LinuxPathToWindowsPath)(使用[oshi](https://github.com/oshi/oshi)工具) 7. QRCodeBuilder:[二维码生成工具](https://gitee.com/xwintop/x-QRCodeBuilder)(自动生成、加入logo、截图识别、自定义格式),使用[google.zxing](https://github.com/zxing/zxing)、[jkeymaster](https://github.com/tulskiy/jkeymaster)等工具 8. IdCardGenerator:[ID证生成器](https://gitee.com/xwintop/x-IdCardGenerator) 9. RegexTester:[正则表达式生成工具](https://gitee.com/xwintop/x-RegexTester) 10. ShortURL:[网址缩短工具](https://gitee.com/xwintop/x-ShortURL),目前支持百度、新浪、缩我等短网址缩短 11. EscapeCharacter:[转义字符](https://gitee.com/xwintop/x-EscapeCharacter)(支持Html、XML、Java、JavaScript、CSV、Sql) 使用[commons-lang3](https://commons.apache.org/lang)工具 12. ZHConverter:[字符串转换](https://gitee.com/xwintop/x-ZHConverter) 使用[hanlp](http://hanlp.com/)开源工具,实现拼音、简体-繁体、简体-臺灣正體、简体-香港繁體、繁體-臺灣正體、繁體-香港繁體、香港繁體-臺灣正體、数字金额-大写金额等直接的转换 13. ActiveMqTool:[Mq调试工具](https://gitee.com/xwintop/x-ActiveMqTool)(目前仅支持[ActiveMq](http://activemq.apache.org)) 14. HttpTool:[Http调试工具](https://gitee.com/xwintop/x-HttpTool)(支持自定义发送数据、header和cookie)(使用[okhttp](https://square.github.io/okhttp/)) 15. jsonEditor:json格式化编辑工具 16. IconTool:[图标生成工具](https://gitee.com/xwintop/x-IconTool) 使用[thumbnailator](https://github.com/coobird/thumbnailator)工具 17. RedisTool:[Redis连接工具](https://gitee.com/xwintop/x-RedisTool) redis连接工具,完成redis的基本增删改查功能 18. WebSourcesTool:[网页源码下载工具](https://gitee.com/xwintop/x-WebSourcesTool) 19. SwitchHostsTool:[切换Hosts工具](https://gitee.com/xwintop/x-SwitchHostsTool)使用[richtextfx](https://github.com/FXMisc/RichTextFX)工具 20. FtpServer:[Ftp服务器](https://gitee.com/xwintop/x-FtpServer)(快速搭建本地Ftp服务)(基于[apache.ftpserver](https://mina.apache.org/ftpserver-project)) 21. CmdTool:[Cmd调试工具](https://gitee.com/xwintop/x-CmdTool) 22. FtpClientTool:[ftp(s)/Sftp客户端调试工具](https://gitee.com/xwintop/x-FtpClientTool)(批量上传、下载、删除文件及文件夹)(implicit/explicit SSL/TLS),使用[jsch](http://www.jcraft.com/jsch)、[commons-io](http://commons.apache.org/io/)等工具 23. PdfConvertTool:[Pdf转换工具](https://gitee.com/xwintop/x-PdfConvertTool)(目前仅支持pdf转图片、pdf转text功能)使用[pdfbox](https://pdfbox.apache.org/)工具 24. DirectoryTreeTool:[文件列表生成器](https://gitee.com/xwintop/x-DirectoryTreeTool) 25. ImageTool:[图片压缩工具](https://gitee.com/xwintop/x-ImageTool)(批量压缩、修改尺寸、转换格式) 26. AsciiPicTool:[图片转码工具](https://gitee.com/xwintop/x-AsciiPicTool)(包括图片生成banner码、图片转Base64码、图片转Excel表) 27. KafkaTool:[Kafka调试工具](https://gitee.com/xwintop/x-KafkaTool)(未完善)(使用了[kafka-clients](http://kafka.apache.org/)) 28. EmailTool:[Email群发工具](https://gitee.com/xwintop/x-EmailTool)(支持自定义群发模版)使用[commons-email](https://commons.apache.org/email)工具 29. ColorCodeConverterTool:[颜色代码转换工具](https://gitee.com/xwintop/x-ColorCodeConverterTool)(包括16进制、RGB、ARGB、RGBA、HSL、HSV等代码之间转换) 30. SmsTool:[短信群发工具](https://gitee.com/xwintop/x-SmsTool)目前支持中国移动、中国电信、腾讯云、阿里云、梦网云通讯等平台 31. ScriptEngineTool:[脚本引擎调试工具](https://gitee.com/xwintop/x-ScriptEngineTool)(目前支持JavaScript、Groovy、Python、Lua等脚本)使用[groovy](http://groovy-lang.org)、[jython](https://jython.org)、[luaj](http://www.luaj.org/luaj.html)等工具 32. FileRenameTool:[文件重命名工具](https://gitee.com/xwintop/x-FileRenameTool) 33. JsonConvertTool:[Json转换工具](https://gitee.com/xwintop/x-JsonConvertTool)(目前支持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)等工具) 34. WechatJumpGameTool:[微信跳一跳助手](https://gitee.com/xwintop/x-WechatJumpGameTool) 35. TextToSpeechTool:[语音转换工具](https://gitee.com/xwintop/x-TextToSpeechTool)(调用[百度语音](https://ai.baidu.com/tech/speech/tts)转换api) 36. 2048:小游戏2048 37. SocketTool:[Socket调试工具](https://gitee.com/xwintop/x-SocketTool),使用[Apache Mina](http://mina.apache.org)实现Tcp、Udp服务端和Client端 38. ImageAnalysisTool:[图片解析工具](https://gitee.com/xwintop/x-ImageAnalysisTool)(1、.atlas文件反解析2、图片快速拆分工具) 39. DecompilerWxApkgTool:[微信小程序反编译工具](https://gitee.com/xwintop/x-DecompilerWxApkgTool),一键反编译微信小程序包 40. ZookeeperTool:[Zookeeper工具](https://gitee.com/xwintop/x-ZookeeperTool)(方便对zookeeper的一系列操作,包括新增、修改、删除(包括子文件)、重命名、复制、添加变更通知) 41. ExcelSplitTool:[Excel拆分工具](https://gitee.com/xwintop/x-ExcelSplitTool)(支持对xls、xlsx、csv及文件进行拆分操作)使用[commons-csv](http://commons.apache.org/csv)工具 42. PathWatchTool:[文件夹监控工具](https://gitee.com/xwintop/x-PathWatchTool) 43. CharsetDetectTool:[文件编码检测工具](https://gitee.com/xwintop/x-CharsetDetectTool)(使用[juniversalchardet]https://github.com/albfernandez/juniversalchardet)工具 44. TransferTool:[传输工具](https://gitee.com/xwintop/x-TransferTool)(集成各种传输协议,使用自定义定时任务(简单模式、cron表达式模式),分为Receiver接收器、Filter处理器、Sender发送器) 45. ScanPortTool:[端口扫描工具](https://gitee.com/xwintop/x-ScanPortTool) 46. FileMergeTool:[文件合并工具](https://gitee.com/xwintop/x-FileMergeTool)(支持对xls、xlsx、csv及文件进行合并操作)使用[apache.poi](http://poi.apache.org/)工具 47. SedentaryReminderTool:[久坐提醒工具](https://gitee.com/xwintop/x-SedentaryReminderTool) 48. RandomGeneratorTool:[随机数生成工具](https://gitee.com/xwintop/x-RandomGeneratorTool),使用[hutool](https://hutool.cn)工具 49. ClipboardHistoryTool:[剪贴板历史工具](https://gitee.com/xwintop/x-ClipboardHistoryTool) 50. FileSearchTool:[文件搜索工具](https://gitee.com/xwintop/x-FileSearchTool),使用[lucene](https://lucene.apache.org/)搜索引擎 51. Mp3ConvertTool:[Mp3转换工具](https://gitee.com/xwintop/x-Mp3ConvertTool)(目前支持网易云音乐.ncm、QQ音乐.qmc转换为mp3格式)使用[jaudiotagger](http://www.jthink.net/jaudiotagger)工具 52. SealBuilderTool:[印章生成工具](https://gitee.com/xwintop/x-SealBuilderTool) 53. BullsAndCowsGame:猜数字小游戏 54. FileUnicodeTransformationTool:[文件编码转换工具](https://gitee.com/xwintop/x-FileUnicodeTransformationTool) 55. FileCompressTool:[文件解压缩工具](https://gitee.com/xwintop/x-FileCompressTool)(目前支持ar、zip、tar、jar、cpio、7z、gz、rar、bzip2、xz、lzma、pack200、deflate、snappy-framed、lz4-block、lz4-framed、zstd等格式解压缩) 56. IdiomDataTool:[成语字典工具](https://gitee.com/xwintop/x-IdiomDataTool),使用[h2](http://www.h2database.com)数据库存储数据字典 57. Sudoku:数独游戏 58. LiteappCode:小程序码生成工具 59. RdbmsSyncTool:[关系型数据库同步工具](https://gitee.com/xwintop/x-RdbmsSyncTool) 60. FileBuildTool:[文件生成工具](https://gitee.com/xwintop/x-FileBuildTool) 61. LuytenTool:[Java反编译工具](https://gitee.com/xwintop/x-LuytenTool),使用开源项目[luyten](https://github.com/deathmarine/Luyten) 62. JavaService:[Java服务安装工具](https://gitee.com/xwintop/x-JavaService),使用开源项目[winsw](https://github.com/winsw/winsw) 63. ElementaryArithmeticProblemTool:[小学生算数题生成工具](https://gitee.com/xwintop/x-ElementaryArithmeticProblemTool) 64. CoordinateTransformTool:[坐标系转换工具](https://gitee.com/xwintop/x-CoordinateTransformTool),提供了百度坐标(BD09)、国测局坐标(火星坐标,GCJ02)、和WGS84坐标系之间的转换 65. HdfsTool:[hdfs管理工具](https://gitee.com/xwintop/x-HdfsTool),hdfs可视化管理工具,支持上传、下载、重命名、复制、移动和删除等功能 66. JavaFxXmlToObjectCode: [javaFxFxml转换代码](https://gitee.com/xwintop/x-JavaFxXmlToObjectCode),根据.fxml文件生成相应的java代码,可生成插件模版 67. KeyTool: [KeyTool](https://gitee.com/xwintop/x-KeyTool),license生成工具 68. RelationshipCalculator: [RelationshipCalculator](https://gitee.com/xwintop/x-RelationshipCalculator),亲戚关系计算器 项目开发中,以后会陆续添加新工具,欢迎大家参与其中,多提提意见,谢谢。 #### 项目结构 ``` xJavaFxTool ├─ images 项目截图 ├─ pom.xml maven配置文件 ├─ README.md 说明文件 ├─ src │  ├─ main │  │  ├─ java │  │  │  └─ com │  │  │  └─ xwintop │  │  │  └─ xJavaFxTool │  │  │  ├─ common 第三方工具类 │  │  │  ├─ controller javafx控制层 │  │  │  │  └─ index 首页控制层 │  │  │  ├─ model 基础bean类层 │  │  │  ├─ services 工具服务层 │  │  │  │  └─ index 首页工具服务层 │  │  │  ├─ utils 系统工具类 │  │  │  └─ view javafx视图层 │  │  │  └─ index 首页工具视图层 │  │  └─ resources │  │  ├─ com │  │  │  └─ xwintop │  │  │  └─ xJavaFxTool │  │  │  └─ fxmlView .fxml文件 │  │  ├─ config 配置文件 │  │  │  └─ toolFxmlLoaderConfiguration.xml 系统菜单加载配置文件 │  │  ├─ css 样式资源 │  │  ├─ images 图片资源 │  │  ├─ locale 国际化 │  │  ├─ banner.txt 启动banner图片 │  │  └─ logback.xml logback日志配置文件 │  └─ test 测试类 │  ├─ java │  └─ resources ``` ##### 📈 趋势 [![Giteye chart](https://chart.giteye.net/gitee/xwintop/xJavaFxTool/2ZF6FD8R.png)](https://giteye.net/chart/2ZF6FD8R) ##### 🍚 贡献 [![Giteye chart](https://chart.giteye.net/gitee/xwintop/xJavaFxTool/K3ZV48G2.png)](https://giteye.net/chart/K3ZV48G2) #### 特别感谢 在一个人还年轻的时候,我觉得,就应该着手致力做一些对社会有意义的事情,一如开源。至此,感谢以下贡献者(排名不分先后): + [李柱](https://gitee.com/loyalty521) + [luming](https://gitee.com/jeeweb) + [码志](https://gitee.com/dazer1992) + [三叔](https://gitee.com/bejson) #### 后续计划 不定期添加汇总开发过程中需求的痛点工具,大家有工作上的痛点处可进群讨论,后期可能就会出相应的工具解决方案,谢谢大家的支持。 #### 项目截图如下: ![传输工具.gif](images/传输工具.gif) ![Cron表达式生成器](images/Cron表达式生成器.gif) ![加密解密](images/加密解密.gif) ![正则表达式生成工具](images/正则表达式生成工具.gif) ![二维码生成工具](images/二维码生成工具.gif)