Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
T
test-data-manalysis
概览
Overview
Details
Activity
Cycle Analytics
版本库
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
问题
0
Issues
0
列表
Board
标记
里程碑
合并请求
0
Merge Requests
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
Snippets
成员
Members
Collapse sidebar
Close sidebar
活动
图像
聊天
创建新问题
作业
提交
Issue Boards
Open sidebar
朱广松
test-data-manalysis
Commits
16478d06
Commit
16478d06
authored
Sep 19, 2025
by
zhugs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
style:改名
parent
2fedeec5
显示空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
3 行增加
和
3 行删除
+3
-3
src/main/java/Main.java
+2
-2
src/main/java/text/TextHandlerFactory.java
+1
-1
没有找到文件。
src/main/java/Main.java
View file @
16478d06
import
database.InsertData
;
import
text.Text
File
HandlerFactory
;
import
text.TextHandlerFactory
;
import
lombok.extern.slf4j.Slf4j
;
import
util.ConfigUtil
;
import
watcher.DirWatcher
;
...
...
@@ -26,7 +26,7 @@ public class Main {
return
true
;
};
new
DirWatcher
(
dirText
,
textFilter
,
new
Text
File
HandlerFactory
()).
startWatch
();
new
DirWatcher
(
dirText
,
textFilter
,
new
TextHandlerFactory
()).
startWatch
();
// 监听 excel log文件
...
...
src/main/java/text/Text
File
HandlerFactory.java
→
src/main/java/text/TextHandlerFactory.java
View file @
16478d06
...
...
@@ -5,7 +5,7 @@ import handler.FileHandlerFactory;
import
java.io.File
;
public
class
Text
File
HandlerFactory
implements
FileHandlerFactory
{
public
class
TextHandlerFactory
implements
FileHandlerFactory
{
@Override
public
AbstractFileHandler
create
(
File
file
)
{
return
new
TextHandler
(
file
);
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论