设置定时器读取由TAB分隔的txt文件内容并存入实体类
我是用IDEA创建了一个简单项目。
先看下如何定时读取内容吧,这是代码:
package com.example.textdata;
import org.springframework.context.annotation.Configuration;
import org.springframework.scheduling.annotation.Async;
import org.springframework.scheduling.annotation.EnableAsync;
import
原创
2020-09-17 11:35:43 ·
538 阅读 ·
0 评论