Open
Conversation
…先任何功能:getter/setter已经做了相应修改
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
写在前面
嗨嗨嗨,又是我👋,上学期开学的时候我看README的开发计划里面有写GUI和搜索功能我就想着给你做一个,结果后面一忙我给忘了。正好放假了我就把这个功能实现了。
修改了什么
本次修改在底层动了一些东西,但是完全保留了对CLI的支持。动到原来的代码包括
Exploit实体类:为了支持JavaFX的显示,将原本的String换成了StringProperty,并且修改了getter/setter,使得原先依赖接口的方法仍然可以使用。Configuration类里面的静态变量:为了支持设置界面的编写,把原先的静态变量换成了私有变量 + getter/setter 的模式,并且修改了原有CLI的代码使得CLI可以正常运行。ExploitContrller里面的Crawl函数:为了能够支持批量爬取时显示进度的功能,添加了一个Crawl的重载,参数里多了一个callback,原版的函数使用来替代
添加了什么
编译和运行
我是用
mvn javafx:run来跑的,我不太确定是不是应该把打包好的程序放上来最后
欢迎您批评指正(^^ゞ